This project is the first one of the 42 common core. The goal is to create and reproduce differents functions to use them in our future projects. You will find the subject of the project into the repository. My grade : 122/100.
- Clone it
git clone [email protected]:AnthonyVerdon-42Projects/libft.git
. - Compile it
make
. You can also usemake bonus
to compile linked list functions. - In your project, compile with
-Llibft -lft
and includelibft.h
in your file. If you want to put them in another directory, you must compile with-L{path}/libft
and include{path}/libft.h
. - Use it like you need ! If you need to know which functions you can use or what are their behavior, check the subject in the repository.
If you want to modify it, it's really simple, you just need to add your files into the source of the Makefile and add the prototypes of the functions into libft.h
If you find an undefined behaviour (crash, leaks, ...), please submit an issue or contact me