Thanks to HecateCerridwen, cvignar and MaudClam for understanding, ideas and debugging of project.
The goal of this project is pretty straightforward. You will recode printf(). You will mainly learn about using a variable number of arguments.
The library is written in C language and thus needs the gcc
compiler and some standard C libraries to run.
1. Compiling the library
To compile the library, run:
$ cd path/to/ft_printf && make
2. Using it in your code
To use the library functions in your code, simply include its header:
#include "printf.h"
and, when compiling your code, add the required flags:
-lftprintf -L path/to/libftprintf.a -I path/to/printf.h