{"id":26823995,"url":"https://github.com/mbah24-dev/ft_printf","last_synced_at":"2025-03-30T09:17:25.249Z","repository":{"id":264472158,"uuid":"893451846","full_name":"mbah24-dev/ft_printf","owner":"mbah24-dev","description":"Recoder la fameuse fonction printf de C","archived":false,"fork":false,"pushed_at":"2024-12-15T14:10:39.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-15T15:21:01.029Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbah24-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-24T13:41:08.000Z","updated_at":"2024-12-15T14:10:43.000Z","dependencies_parsed_at":"2024-11-24T15:43:41.178Z","dependency_job_id":null,"html_url":"https://github.com/mbah24-dev/ft_printf","commit_stats":null,"previous_names":["mbah24-dev/ft_printf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbah24-dev%2Fft_printf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbah24-dev%2Fft_printf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbah24-dev%2Fft_printf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbah24-dev%2Fft_printf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbah24-dev","download_url":"https://codeload.github.com/mbah24-dev/ft_printf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246296576,"owners_count":20754635,"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":[],"created_at":"2025-03-30T09:17:24.809Z","updated_at":"2025-03-30T09:17:25.244Z","avatar_url":"https://github.com/mbah24-dev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ft_printf\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/mbah24-dev/mbah24-dev/blob/main/42_badges/ft_printfe.png\" alt=\"ft_printf 42 project badge\"/\u003e\n\u003c/p\u003e\n\nFor the ft_printf project of the 42 school cursus, we must recreate the famous C library printf function. This project teaches us about variadic arguments as well as structures if we plan to implement printf's extra flags.\n\n- Supported conversions: %, c, s, p, i, d, u, x, X\n\n## Status\nFinished: 2024-11-27. Grade: 100/100.\n\n## Usage\n\n``make`` to compile.\n\n### Basic Usage\nFor example, let's create a ``main.c`` file.\n\n```c\n// Include the header\n#include \"ft_printf.h\"\n\nint main(void)\n{\n      // Call the function\n      ft_printf(\"Testing ft_printf! %d\", 42);\n      ft_printf(\"Testing ft_printf! %X\", 255);\n      return (0);\n}\n```\n\nCompile the ``main.c`` file with the ft_printf library and run the program:\n```bash\ngcc main.c libftprintf.a \u0026\u0026 ./a.out\n```\nOutput should be:\n```\nTesting ft_printf! 42\nTesting ft_printf! FF\n```\n\n### Advanced Usage: Format Specifiers\n\nThe table below lists supported format specifiers:\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth colspan=3\u003e\u003ch4\u003eSpecifiers\u003c/h4\u003e\u003c/th\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003cth\u003eFormat Specifier\u003c/th\u003e\n            \u003cth\u003eDescription\u003c/th\u003e\n        \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n\t\u003c/thead\u003e\n        \u003ctr\u003e\n            \u003ctd align=\"center\"\u003e%\u003c/td\u003e\n            \u003ctd\u003e% followed by another % character writes % to the screen.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd align=\"center\"\u003ec\u003c/td\u003e\n            \u003ctd\u003ewrites a single character.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd align=\"center\"\u003es\u003c/td\u003e\n            \u003ctd\u003ewrites a character string.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd align=\"center\"\u003ep\u003c/td\u003e\n            \u003ctd\u003ewrites an implementation-defined character sequence defining a pointer address.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd align=\"center\"\u003ed or i\u003c/td\u003e\n            \u003ctd\u003ewrites a signed integer to decimal representation.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd align=\"center\"\u003eu\u003c/td\u003e\n            \u003ctd\u003ewrites an unsigned integer to decimal representation.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd align=\"center\"\u003ex or X\u003c/td\u003e\n            \u003ctd\u003ewrites an unsigned integer to hexadecimal representation.\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n\n\n\n---\nMade by mbah: mbah@student.42.fr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbah24-dev%2Fft_printf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbah24-dev%2Fft_printf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbah24-dev%2Fft_printf/lists"}