{"id":20622092,"url":"https://github.com/andersonhsporto/ft-printf","last_synced_at":"2025-04-15T12:19:09.322Z","repository":{"id":103561713,"uuid":"403823218","full_name":"andersonhsporto/ft-printf","owner":"andersonhsporto","description":"This project focuses on implementing a simplified version of the printf function, commonly used in C programming for formatted output. The implementation replicates some of the key features of printf, allowing for dynamic string formatting and output generation","archived":false,"fork":false,"pushed_at":"2025-01-01T20:32:11.000Z","size":114,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T12:18:51.926Z","etag":null,"topics":["c","makefile","printf","stdarg"],"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/andersonhsporto.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}},"created_at":"2021-09-07T03:04:29.000Z","updated_at":"2025-01-01T20:33:54.000Z","dependencies_parsed_at":"2023-03-18T12:47:29.875Z","dependency_job_id":null,"html_url":"https://github.com/andersonhsporto/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/andersonhsporto%2Fft-printf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonhsporto%2Fft-printf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonhsporto%2Fft-printf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonhsporto%2Fft-printf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersonhsporto","download_url":"https://codeload.github.com/andersonhsporto/ft-printf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249067787,"owners_count":21207396,"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","makefile","printf","stdarg"],"created_at":"2024-11-16T12:20:42.449Z","updated_at":"2025-04-15T12:19:09.315Z","avatar_url":"https://github.com/andersonhsporto.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ft_printf\n\n### Custom printf Implementation\n\nThis project is a simplified implementation of the printf function, replicating specific format specifiers for educational and practical purposes. The goal is to understand and reconstruct the core functionalities of the widely-used printf function in C.\n\n## Features\n\nThe following format specifiers are supported:\n\nSupported Specifiers\n\n- %c: Prints a single character.\n- %s: Prints a string of characters.\n\n- %p: Prints a void * pointer argument in hexadecimal format.\n\n- %d: Prints a decimal (base 10) number.\n\n- %i: Prints an integer in base 10.\n\n- %u: Prints an unsigned decimal (base 10) number.\n\n- %x: Prints a number in hexadecimal (base 16) format.\n\n- %%: Prints a percent sign.\n\n### Example Code\n\n```c\nint main() {\n    ft_printf(\"Character: %c\\n\", 'A');\n    ft_printf(\"String: %s\\n\", \"Hello, World!\");\n    ft_printf(\"Pointer: %p\\n\", (void *)0xDEADBEEF);\n    ft_printf(\"Decimal: %d\\n\", 123);\n    ft_printf(\"Integer: %i\\n\", -456);\n    ft_printf(\"Unsigned: %u\\n\", 789u);\n    ft_printf(\"Hexadecimal: %x\\n\", 0x1A3F);\n    ft_printf(\"Percent Sign: %%\\n\");\n    return 0;\n}\n\n```\n      \nprintf manual - [Linux Programmer's Manual](https://man7.org/linux/man-pages/man3/printf.3.html) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonhsporto%2Fft-printf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersonhsporto%2Fft-printf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonhsporto%2Fft-printf/lists"}