https://github.com/josevazf/42-ft_printf
Recoding of the standard printf() function
https://github.com/josevazf/42-ft_printf
42commoncore 42cursus 42school printf
Last synced: 9 months ago
JSON representation
Recoding of the standard printf() function
- Host: GitHub
- URL: https://github.com/josevazf/42-ft_printf
- Owner: josevazf
- Created: 2023-05-07T17:15:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-06T19:08:13.000Z (over 2 years ago)
- Last Synced: 2025-07-05T08:40:45.270Z (10 months ago)
- Topics: 42commoncore, 42cursus, 42school, printf
- Language: C
- Homepage:
- Size: 1.21 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 42 Common Core / ft_printf
This project is about a partial recoding of the standard printf() function while learning about variadic functions in C.
###
Handles only the following conversions:
- `%c` - print a single character
- `%s` - print a string of characters
- `%p` - the void * pointer argument is printed in hexadecimal
- `%d` - print a decimal (base 10) number
- `%i` - print an integer in base 10
- `%u` - print an unsigned decimal (base 10) number
- `%x` - print a number in hexadecimal (base 16), with lowercase
- `%X` - print a number in hexadecimal (base 16), with uppercase
- `%%` - print a percent sign
*Aditional flags to be implemented later on.