Your very first own library
This project is your very first project as a student at 42. You will need to recode a few functions of the C standard library as well as some other utility functions that you will use during your whole cursus.
This project is about coding a C library containing a lot of general purpose
functions that our future programs would rely on.
My Libft now also includes my ft_printf !
To clone, run:
git clone https://github.com/WudDoo/Libft.git
To compile, run make
at the root of the Libft
directory.
To use my libft, simply include its header with the correct path in your code:
#include "<PATH>/libft.h"
And compile your code with my static library libft.a
:
$(CC) $(CFLAGS) $(YOUR_SRCS) $(<PATH>/libft.a)
You could also install it to your machine by adding
- libft.a to /usr/local/lib
- libft.h to /usr/local/include