Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/namorgha/ft_printf
This repository provides a C implementation that reproduces the behavior of the printf function, demonstrating custom formatting and output handling.
https://github.com/namorgha/ft_printf
42 c-language printf-42 variadic-functions
Last synced: 3 days ago
JSON representation
This repository provides a C implementation that reproduces the behavior of the printf function, demonstrating custom formatting and output handling.
- Host: GitHub
- URL: https://github.com/namorgha/ft_printf
- Owner: Namorgha
- Created: 2024-01-16T04:45:06.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-05T02:48:19.000Z (3 months ago)
- Last Synced: 2024-08-05T04:08:17.292Z (3 months ago)
- Topics: 42, c-language, printf-42, variadic-functions
- Language: C
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![print-variables](https://github.com/user-attachments/assets/9104a02f-0b68-4f9c-b09e-49bdf09e5f68)
---
# ft_printf
ft_printf is a custom implementation of the printf function in C, developed as part of the 42 Network curriculum. This project aims to recreate the functionality of printf to handle various format specifiers and conversion types.
---
# Features
- Implementation of printf function with support for various format specifiers
- Custom handling for different data types
- Extension to support additional format specifiers not included in the standard library---
# Supported Format Specifiers
ft_printf supports the following format specifiers:
- %c - Character
- %s - String
- %p - Pointer
- %d - Decimal (integer)
- %i - Integer
- %u - Unsigned integer
- %x - Unsigned hexadecimal (lowercase)
- %X - Unsigned hexadecimal (uppercase)
- %% - Literal percent sign---