{"id":19053304,"url":"https://github.com/jotavare/ft_printf","last_synced_at":"2025-04-24T02:45:20.315Z","repository":{"id":155284576,"uuid":"583761493","full_name":"jotavare/ft_printf","owner":"jotavare","description":"Redo the behavior of C library function printf without using it.","archived":false,"fork":false,"pushed_at":"2024-06-26T23:04:19.000Z","size":1349,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-27T02:46:58.190Z","etag":null,"topics":["c","flags","ft-printf","gdb","makefile","norminette","recursion","static-library","string-manipulation","structures","valgrind","valist","variadic-arguments","write"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"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/jotavare.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":"2022-12-30T20:43:03.000Z","updated_at":"2024-06-26T23:04:22.000Z","dependencies_parsed_at":"2024-06-27T02:52:19.418Z","dependency_job_id":null,"html_url":"https://github.com/jotavare/ft_printf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotavare%2Fft_printf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotavare%2Fft_printf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotavare%2Fft_printf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotavare%2Fft_printf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jotavare","download_url":"https://codeload.github.com/jotavare/ft_printf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223768237,"owners_count":17199325,"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":["c","flags","ft-printf","gdb","makefile","norminette","recursion","static-library","string-manipulation","structures","valgrind","valist","variadic-arguments","write"],"created_at":"2024-11-08T23:30:02.412Z","updated_at":"2024-11-08T23:30:02.909Z","avatar_url":"https://github.com/jotavare.png","language":"C","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/jotavare/jotavare/blob/main/42/banners/piscine_and_common_core/github_piscine_and_common_core_banner_ft_printf.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/status-finished-success?color=%2312bab9\u0026style=flat-square\"/\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/evaluated-22%20%2F%2012%20%2F%202022-success?color=%2312bab9\u0026style=flat-square\"/\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/score-104%20%2F%20100-success?color=%2312bab9\u0026style=flat-square\"/\u003e\n\t\u003cimg src=\"https://img.shields.io/github/languages/top/jotavare/ft_printf?color=%2312bab9\u0026style=flat-square\"/\u003e\n\t\u003cimg src=\"https://img.shields.io/github/last-commit/jotavare/ft_printf?color=%2312bab9\u0026style=flat-square\"/\u003e\n\t\u003ca href='https://www.linkedin.com/in/joaoptoliveira' target=\"_blank\"\u003e\u003cimg alt='Linkedin' src='https://img.shields.io/badge/LinkedIn-100000?style=flat-square\u0026logo=Linkedin\u0026logoColor=white\u0026labelColor=0A66C2\u0026color=0A66C2'/\u003e\u003c/a\u003e\n\t\u003ca href='https://profile.intra.42.fr/users/jotavare' target=\"_blank\"\u003e\u003cimg alt='42' src='https://img.shields.io/badge/Porto-100000?style=flat-square\u0026logo=42\u0026logoColor=white\u0026labelColor=000000\u0026color=000000'/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"#about\"\u003eAbout\u003c/a\u003e •\n\t\u003ca href=\"#how-to-use\"\u003eHow to use\u003c/a\u003e •\n\t\u003ca href=\"#mandatory\"\u003eMandatory\u003c/a\u003e •\n\t\u003ca href=\"#bonus\"\u003eBonus\u003c/a\u003e •\n\t\u003ca href=\"#norminette\"\u003eNorminette\u003c/a\u003e •\n\t\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e •\n\t\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n## ABOUT\nThis project involved recreating the well-known C library function, printf. This provided a valuable learning opportunity in variadic arguments and structures, particularly if we intend to incorporate additional flags into our implementation of print.\n\n- [Subject](https://github.com/jotavare/ft_printf/blob/master/subject/en_subject_ft_printf.pdf) `PDF`\n- [References](https://github.com/jotavare/42-resources#01-ft_printf) `GitHub`\n\n## HOW TO USE\n#### 1º - Clone the repository\n```git\ngit clone git@github.com:jotavare/ft_printf.git\n```\n\n#### 2º - Enter the project folder and run `make`\n```bash\ncd ft_printf/ft_printf\nmake\n```\n\n#### 3º - To use in your code, include the header\n```c\n#include \"ft_printf.h\"\n```\n\n#### MAKEFILE RULES\n\n`make` or `make all` - Compile ft_printf files.\n\n`make clean` - Delete all .o (object files) files.\n\n`make fclean` - Delete all .o (object files) and .a (executable) files.\n\n`make re` - Use rules `fclean` + `all`.\n\n## MANDATORY\n\u003e This ft_printf function supports several format specifiers, described below:\n- [x] `%c` - Print a single character;\n- [x] `%s` - Print a string;\n- [x] `%p` - Print void * pointer argument in hexadecimal format;\n- [x] `%d` - Print a decimal (base 10) number;\n- [x] `%i` - Print an integer in base 10;\n- [x] `%u` - Prints an unsigned decimal (base 10) number;\n- [x] `%x` - Print a number in hexadecimal (base 16) lowercase format;\n- [x] `%X` - Print a number in hexadecimal (base 16) uppercase format;\n- [x] `%%` - Print a percentage sign;\n\n## BONUS\n- [ ] Manage any combination of the following flags: `-O` and the field minimum width under all conversions;\n- [ ] Manage all the following flags: `#` ` ` `+`;\n\n## NORMINETTE\n\u003e At 42 School, it is expected that almost every project is written following the Norm, which is the coding standard of the school.\n\n```\n- No for, do...while, switch, case, goto, ternary operators, or variable-length arrays allowed;\n- Each function must be a maximum of 25 lines, not counting the function's curly brackets;\n- Each line must be at most 80 columns wide, with comments included;\n- A function can take 4 named parameters maximum;\n- No assigns and declarations in the same line (unless static);\n- You can't declare more than 5 variables per function;\n- ...\n```\n\n* [42 Norms](https://github.com/42School/norminette/blob/master/pdf/en.norm.pdf) - Information about 42 code norms. `PDF`\n* [Norminette](https://github.com/42School/norminette) - Tool to respect the code norm, made by 42. `GitHub`\n* [42 Header](https://github.com/42Paris/42header) - 42 header for Vim. `GitHub`\n\n## CONTRIBUTING\n\nIf you find any issues or have suggestions for improvements, feel free to fork the repository and open an issue or submit a pull request.\n\n## LICENSE\n\nThis project is available under the MIT License. For further details, please refer to the [LICENSE](https://github.com/jotavare/ft_printf/blob/master/LICENSE) file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjotavare%2Fft_printf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjotavare%2Fft_printf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjotavare%2Fft_printf/lists"}