{"id":23289658,"url":"https://github.com/mathyscogne/42_ft_printf","last_synced_at":"2025-09-05T07:43:19.631Z","repository":{"id":262005778,"uuid":"876317269","full_name":"MathysCogne/42_ft_printf","owner":"MathysCogne","description":"Because ft_putnbr and ft_putstr aren’t enough. Custom printf function for 42.","archived":false,"fork":false,"pushed_at":"2024-11-26T12:39:36.000Z","size":1519,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T14:11:39.440Z","etag":null,"topics":["42","ftprintf"],"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/MathysCogne.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-21T19:04:47.000Z","updated_at":"2025-03-25T16:46:54.000Z","dependencies_parsed_at":"2024-11-09T21:26:49.619Z","dependency_job_id":"b6b723eb-97b8-4f85-ae89-14a779900ee0","html_url":"https://github.com/MathysCogne/42_ft_printf","commit_stats":null,"previous_names":["mathyscogne/42_ft_printf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MathysCogne/42_ft_printf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathysCogne%2F42_ft_printf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathysCogne%2F42_ft_printf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathysCogne%2F42_ft_printf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathysCogne%2F42_ft_printf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MathysCogne","download_url":"https://codeload.github.com/MathysCogne/42_ft_printf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathysCogne%2F42_ft_printf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273728130,"owners_count":25157136,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","ftprintf"],"created_at":"2024-12-20T04:17:35.299Z","updated_at":"2025-09-05T07:43:19.608Z","avatar_url":"https://github.com/MathysCogne.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003e42 - FT_PRINTF\u003c/h1\u003e\n\u003cp\u003e\u003cstrong\u003eBecause putnbr and putstr aren’t enough\u003c/strong\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://github.com/MathysCogne/42_ft_printf/blob/main/subject/printf_en.pdf\"\u003e\u003cstrong\u003eSubject\u003c/strong\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/br\u003e\n\u003c/div\u003e\n\n## Features\n\n- This project is a custom implementation of the `printf` function in C\n- Handles specifiers: `%c`, `%s`, `%d`, `%i`, `%u`, `%x`, `%X`, `%p`, and `%%`.\n\n\u003c/br\u003e\n\n| Specifier | Description        | Base        |\n:-----------|:-------------------|:-------------\n| **`%c`**  | Single character   | --          |\n| **`%s`**  | String             | --          |\n| **`%d`**  | Decimal number     | Decimal     |\n| **`%i`**  | Integer            | Decimal     |\n| **`%u`**  | Unsigned Integer   | Decimal     |\n| **`%x`**  | Lowercase number   | Hexadecimal |\n| **`%X`**  | Uppercase number   | Hexadecimal |\n| **`%p`**  | Pointer - Memory addr | Hexadecimal |\n| **`%%`**  | Percent sign       | --          |\n\n\n\u003c/br\u003e\n\n## Project Structure\n\n- **includes/**\n  - [`ft_printf.h`](./includes/ft_printf.h) - Header file\n\n- **srcs/**\n  - [`ft_printf.c`](./srcs/ft_printf.c) - ft_printf\n  - [`ft_putlstr.c`](./srcs/ft_putlstr.c) - Prints strings\n  - [`ft_putlnbr.c`](./srcs/ft_putlnbr.c) - Prints integers\n  - [`ft_putlunbr_base.c`](./srcs/ft_putlunbr_base.c) - Prints unsigned numbers in different bases\n  - [`ft_putladdr_base.c`](./srcs/ft_putladdr_base.c) - Prints memory addresses\n  - [`ft_utils.c`](./srcs/ft_utils.c) - Utility functions\n  - [`test.c`](./srcs/test.c) - Test file / Main\n\n- **Makefile**\n  - [`Makefile`](./Makefile): Compilation rules\n\n- **subject/**\n  - [`printf_en.pdf`](./subject/printf_en.pdf) - Subject En\n  - [`printf_fr.pdf`](./subject/printf_fr.pdf) - Subject Fr\n\n\n\n\u003c/br\u003e\n\n## Compilation `libftprintf.a`\n\nTo compile the library, simply run the `make` command:\n\n```bash\nmake\n```\n``make bonus``\n``make clean``\n``make fclean``\n``make re``\n\n\u003c/br\u003e\n\n## Disclaimer\n\u003e At 42 School, most projects must comply with the [Norm](https://github.com/42School/norminette/blob/master/pdf/en.norm.pdf).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathyscogne%2F42_ft_printf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathyscogne%2F42_ft_printf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathyscogne%2F42_ft_printf/lists"}