An open API service indexing awesome lists of open source software.

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.

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. |