For the ft_printf project of the 42 school cursus, we must recreate the famous C library printf function. This project teaches us about variadic arguments.
- Supported conversions: %, c, s, p, i, d, u, x, X
Finished: 2022-12-19. Grade: 100/100.
make
or make bonus
to compile.
For example, let's create a main.c
file.
// Include the header
#include "ft_printf.h"
int main(void)
{
// Call the function
ft_printf("Hello World!\n");
return (0);
}
Compile the main.c
file with the ft_printf library and run the program:
./a.out
Output should be:
Hello World!
Made by jhesso: [email protected] | LinkedIn: jhesso