The first project at 42 quebec is to create a static library with original and homemade version of pre-existing functions in the C library.
Notice - I did some edits for my needs, this project is not compliant anymore.
This Libft work with a master libft.a file, but each part that make the big one can be compiled independently. The great thing about that, is that everything stay clean and flexible to add new part.
Linked List - Number - String - Type - Write
You will need basic C compiler In my case, I work with gnu (gcc).
Each sub folder of the library that I made can be compiled and added separatly in a project without breaking, because each of them have their own Makefile and generate an archive file (.a). Here's a demo:
cd libft/linked_list
make
You will now have a linkedlist.a !
make
I will invite you to check the master makefile and one of the sub makefile to check other useful calls that you can make.
- Add ft_printf
- Add my doubly_circular_linked_list
- Add Readme files with notes for each type
15