{"id":21285349,"url":"https://github.com/izenynn/ft_printf","last_synced_at":"2025-03-15T15:12:37.231Z","repository":{"id":134167856,"uuid":"409917759","full_name":"izenynn/ft_printf","owner":"izenynn","description":"42 Cursus - ft_printf: A simple implementation of C printf function to add it to the libft and use it in future projects.","archived":false,"fork":false,"pushed_at":"2022-02-21T21:01:51.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T05:15:35.256Z","etag":null,"topics":["42","42born2code","c","lib","libc","libft","libft42","library","linux","macos","printf","printf-42"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/izenynn.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":"2021-09-24T10:06:58.000Z","updated_at":"2021-12-21T16:26:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"e84b5dcb-24fc-466e-9493-081c10673251","html_url":"https://github.com/izenynn/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/izenynn%2Fft_printf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fft_printf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fft_printf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fft_printf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/izenynn","download_url":"https://codeload.github.com/izenynn/ft_printf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243746200,"owners_count":20341203,"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":["42","42born2code","c","lib","libc","libft","libft42","library","linux","macos","printf","printf-42"],"created_at":"2024-11-21T11:19:54.199Z","updated_at":"2025-03-15T15:12:37.207Z","avatar_url":"https://github.com/izenynn.png","language":"C","readme":"# 42 Cursus - ft_printf\n\n## Info\n\nA simple implementation of C printf function to add it to the libft and use it in future projects.\n\n- Status: finished\n- Result: 125%\n- Observations: (null)\n\n## Flags\n\n- `%c` print a single character.\n- `%s` print a string of characters.\n- `%p` the void * pointer argument is printed in hexadecimal.\n- `%d` print a decimal (base 10) number.\n- `%i` print an integer in base 10.\n- `%u` print an unsigned decimal (base 10) number\n- `%x` print a number in hexadecimal (base 16) with lowercase.\n- `%X` print a number in hexadecimal (base 16) with uppercase.\n- `%%` print a percent sign.\n- `-` left-justify within the given field width; Right justification is the default.\n- `0` left-pads the number with zeroes (0) instead of spaces when padding is specified.\n- `.` the precision in not specified in the format string, but as an additional integer value argument preceding the argument that has to be formated.\n- `#` used with x or X specifiers the value is preceeded with 0x or 0X respectively for the values different than zero.\n- `(space)` if no sign is going to be written, a blank space is inserted before the value.\n- `+` forces to preceed the result with a plus or minus sign (+ or -) even for positive numbers. By default, only negative numbers are preceded with a - sign.\n\n## How to use\n\nIf you want to try it yourself, check my libft repo, libft is a lib I made by myself and contains some useful C functions to use it in 42 projects, including ft_printf.\n\nI explain how to use it in the README.md of the repo.\n\n[Link to libft repo](https://github.com/izenynn/libft)\n\n## P.S.\n\nThis project is estimated that it takes about 175 hours, and I do it in less than a day because I accidentally set a deadline, so please be gentile with my code :\")\n\n##\n[![forthebadge](https://forthebadge.com/images/badges/made-with-c.svg)](https://forthebadge.com)\n[![forthebadge](https://forthebadge.com/images/badges/powered-by-coffee.svg)](https://forthebadge.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizenynn%2Fft_printf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fizenynn%2Fft_printf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizenynn%2Fft_printf/lists"}