The project is about recoding the printf() function from libc. The key to a successful ft_printf is a well-structured and extensible code.
Testernette for printf might be interisting for you if you're doing the core at the moment.
Identifier | Description |
---|---|
%c | Prints a single character. |
%s | Prints a string. |
%p | Prints void *pointer in hexadecimal format. |
%d | Prints a decimal (base 10) number. |
%i | Prints an integer (base 10). |
%u | Prints an unsigned decimal (base 10) number. |
%x | Prints a number in hexadecimal (base 16) lowercase format. |
%X | Prints a number in hexadecimal (base 16) uppercase format. |
%% | Prints a percent sign. |