Replicates the operation of the printf function
My ft_printf supports the following conversions:
| Conversion | Description |
|---|---|
| %c | Prints a single character. char c |
| %s | Prints a string. char *s |
| %p | The void pointer * given as an argument is printed in hexadecimal format. void * |
| %d | Prints a decimal number (base 10). int n |
| %i | Prints an integer in base 10. int n |
| %u | Prints an unsigned decimal (base 10) number. unsigned int n |
| %x | Prints a hexadecimal number (base 16) in lower case. |
| %X | Prints a hexadecimal number (base 16) in upper case. |
| %% | Prints the percent symbol. |
For more detailed information, look at the subject of this project.