{"id":18187843,"url":"https://github.com/0bvim/ft_printf","last_synced_at":"2025-04-07T13:46:33.758Z","repository":{"id":190491128,"uuid":"682366231","full_name":"0bvim/ft_printf","owner":"0bvim","description":"The goal of this project is recode printf(). Here I learn mainly about using a variable number of arguments.","archived":false,"fork":false,"pushed_at":"2024-06-11T07:53:31.000Z","size":113,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T16:42:17.256Z","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/0bvim.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":"2023-08-24T02:44:35.000Z","updated_at":"2024-08-09T18:47:54.000Z","dependencies_parsed_at":"2023-08-24T22:36:00.458Z","dependency_job_id":"57425e8a-cdcb-49d4-bc91-f184ec966607","html_url":"https://github.com/0bvim/ft_printf","commit_stats":null,"previous_names":["vinicius-f-pereira/ft_printf","0xniv/ft_printf","0bvim/ft_printf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fft_printf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fft_printf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fft_printf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fft_printf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0bvim","download_url":"https://codeload.github.com/0bvim/ft_printf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247666006,"owners_count":20975785,"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":"2024-11-03T02:03:31.878Z","updated_at":"2025-04-07T13:46:33.736Z","avatar_url":"https://github.com/0bvim.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ft_printf](../../../42-project-badges/blob/main/covers/cover-ft_printf-bonus.png)\n# ft_printf\n\n### The goal of this project is recode printf(). Here I learn mainly about using a variadic arguments.\n\n## HOW USE IT?\n\u003e Following command are in terminal. (`$`) \\\n\u003e First, clone repository with your the way you prefer\n```bash\ngh repo clone vinicius-f-pereira/ft_printf\n```\n`or`\n```\ngit clone git@github.com:vinicius-f-pereira/ft_printf.git\n```\n`or`\n```\ngit clone https://github.com/vinicius-f-pereira/ft_printf.git\n```\n### Now you need to build libftprintf.a\n```bash\ncd ft_printf\nmake\n```\n`or`\n```bash\nmake bonus\n```\n\n### You need of a `main.c` file with path do header and compile it with static library\n\u003e The recipe to compile executable\n```bash\ncc main.c libftprintf.a -Iincludes -o ft_printf\n./ft_printf\n```\n\n\u003e Here's a boilerplate of a `main.c`\n```c\n#include \"ft_printf.h\"\n/* #include \"ft_printf_bonus.h\" */\n\n/**\n * This header is to use if you compile bonus (make bonus)\n * After do this project I let mandatory and bonus part handling specifiers and flags\n * so you'll not 'see' difference between both.\n * But, mandatory handle only specifiers below, and bonus handle some flags too.\n * to know more about specifiers, RTFM!!!\n */\n\nint  main(void)\n{\n  ft_printf(\"You can use it with following flags:\\\n      \\n%c: print character \\\n\t\t  \\n%s: print string \\\n\t\t  \\n%d: print signed numbers \\\n\t\t  \\n%i: print signed numbers \\\n\t\t  \\n%u: print unsigned numbers\\\n\t\t  \\n%x: print hexadecimal lower case \\\n\t\t  \\n%X: print hexadecimal upper case \\\n\t\t  \\n%p: print pointer address\\n\", 'a', \"string\", -1, 0, 1, 1020, 2030, \"address\");\n  return (0); \n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0bvim%2Fft_printf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0bvim%2Fft_printf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0bvim%2Fft_printf/lists"}