Because ft_putnbr() and ft_putstr() aren’t enough
The goal of this project is pretty straightforward. You will recode printf(). You will mainly learn about using a variable number of arguments. How cool is that?? It is actually pretty cool :)
This project basically consists of writing a libray that contains a simplified version
of the printf function.
To clone, run:
git clone https://github.com/WudDoo/ft_printf.git
To compile, run make
at the root of the ft_printf
directory.
To use my ft_printf, simply include its header with the correct path in your code:
#include "<PATH>/ft_printf.h"
And compile your code with my static library libftprintf.a
:
$(CC) $(CFLAGS) $(YOUR_SRCS) $(<PATH>/libftprintf.a)