https://github.com/pasqualerossi/printf
Recreating the printf function.
https://github.com/pasqualerossi/printf
42-printf 42printf ft-printf ft-printf42 printf printf-42 printf-functions printf42
Last synced: 5 days ago
JSON representation
Recreating the printf function.
- Host: GitHub
- URL: https://github.com/pasqualerossi/printf
- Owner: pasqualerossi
- Created: 2021-10-01T04:39:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-01T05:52:29.000Z (11 months ago)
- Last Synced: 2024-06-01T06:52:46.629Z (11 months ago)
- Topics: 42-printf, 42printf, ft-printf, ft-printf42, printf, printf-42, printf-functions, printf42
- Language: C
- Homepage:
- Size: 1.54 MB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ft_Printf
A partial reimplementation of the printf in C. Handles only the following conversions.
| Conversion | Short Description |
|------------|-----------------------------------------------------------------------------------------------|
| %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. |