{"id":22345336,"url":"https://github.com/saintbassanaga/printf","last_synced_at":"2025-03-26T10:14:07.097Z","repository":{"id":44483175,"uuid":"512012715","full_name":"saintbassanaga/printf","owner":"saintbassanaga","description":"Printf project for @saintbassanaga and @ngounou-tp","archived":false,"fork":false,"pushed_at":"2022-07-12T21:29:52.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T11:34:15.818Z","etag":null,"topics":["printf"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saintbassanaga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-08T19:59:46.000Z","updated_at":"2023-08-13T14:19:51.000Z","dependencies_parsed_at":"2022-09-10T03:13:02.441Z","dependency_job_id":null,"html_url":"https://github.com/saintbassanaga/printf","commit_stats":null,"previous_names":["saintbajk/printf","saintbassanaga/printf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saintbassanaga%2Fprintf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saintbassanaga%2Fprintf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saintbassanaga%2Fprintf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saintbassanaga%2Fprintf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saintbassanaga","download_url":"https://codeload.github.com/saintbassanaga/printf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245632418,"owners_count":20647194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["printf"],"created_at":"2024-12-04T09:17:28.449Z","updated_at":"2025-03-26T10:14:07.073Z","avatar_url":"https://github.com/saintbassanaga.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# 0x011 .C Printf\nThe aim of the project is to understand the concept of team work and therefore, demisifying the concept of printf\n\n---\n# Tasks\n\nThese are all the tasks of this project, the ones that are completed link to the corresponding files.\n\n### 0. I'm not going anywhere. You can print that wherever you want to. I'm here and I'm a Spur for life]\n* Write a function that produces output according to format.\n  - c : converts input into a character\n  - s : converts input into a string\n\n### 1. Education is when you read the fine print. Experience is what you get if you don't\n* Handle the following conversion specifiers:\n  - d : converts input into a base 10 integer\n  - i : converts input into an integer\n\n### 2. Just because it's in print doesn't mean it's the gospel\n* Create a man page for your function\n\n### 3. With a face like mine, I do better in print\n* Handle the following conversion specifiers:\n  - b : the unsigned int argument is converted to binary\n\n### 4. What one has not experienced, one will never understand in print\n* Handle the following conversion specifiers:\n  - u : converts the input into an unsigned integer\n  - o : converts the input into an octal number\n  - x : converts the input into a hexadecimal number\n  - X : converts the input into a hexadecimal number with capital letters\n\n### 5. Nothing in fine print is ever good news\n* Use a local buffer of 1024 chars in order to call write as little as possible.\n\n### 6. My weakness is wearing too much leopard print\n* Handle the following custom conversion specifier:\n  - S : prints the string\n  - Non printable characters (0 \u003c ASCII value \u003c 32 or \u003e= 127) are printed this way: \\x, followed by the ASCII code value in hexadecimal (upper case - always 2 characters)\n\n### 7. How is the world ruled and led to war? Diplomats lie to journalists and believe these lies when they see them in print\n* Handle the following conversion specifier:\n  - p : int input is converted to a pointer address\n\n### 8. The big print gives and the small print takes away\n* Handle the following flag characters for non-custom conversion specifiers:\n  - \\+ : adds a \\+ in front of signed positive numbers and a \\- in front of signed negative numbers\n  - space : same as \\+, but adds a space (is overwritten by \\+)\n  - \\# : adds a 0 in front of octal conversions that don't begin with one, and a 0x or 0X for x or X conversions\n\n### 9. Sarcasm is lost in print\n* Handle the following length modifiers for non-custom conversion specifiers:\n  - l : converts d, i, u, o, x, X conversions in short signed or unsigned ints\n  - h : converts d, i, u, o, x, X conversions in long signed or unsigned ints\n\n### 10. Print some money and give it to us for the rain forests\n* Handle the field width for non-custom conversion specifiers.\n\n### 11. The negative is the equivalent of the composer's score, and the print the performance\n* Handle the precision for non-custom conversion specifiers.\n\n### 12. It's depressing when you're still around and your albums are out of print\n* Handle the 0 flag character for non-custom conversion specifiers.\n\n### 13. Every time that I wanted to give up, if I saw an interesting textile, print what ever, suddenly I would see a collection]\n* Handle the - flag character for non-custom conversion specifiers.\n\n### 14. Print is the sharpest and the strongest weapon of our party\n* Handle the following custom conversion specifier:\n  - r : prints the reversed string\n\n### 15. The flood of print has turned reading into a process of gulping rather than savoring\n* Handle the following custom conversion specifier:\n  - R : prints the rot13'ed string\n\n### 16. * \n* All the above options work well together.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaintbassanaga%2Fprintf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaintbassanaga%2Fprintf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaintbassanaga%2Fprintf/lists"}