Second project for 42 school. We have to recode a simpler printf() function which handles the cspdiuxX% conversions.
int ft_printf(const char *str, ...);| Specifier | Output |
|---|---|
%c |
a single character |
%s |
a string (as defined by the common C convention) |
%p |
a void * pointer printed in hexadecimal format |
%d |
a decimal (base 10) number |
%i |
an integer in base 10 |
%u |
an unsigned decimal (base 10) number |
%x |
a number in hexadecimal lowercase format |
%X |
a number in hexadecimal uppercase format |
%% |
a percent sign |
The makefile creates a library called libftprintf.a. The following rules are available :
makemake allmake cleanmake fcleanmake re


