libft is a project developed for 42 Heilbroon School.
Keywords
C programming - pointers - libc.h - strings.h - stdlib.h - malloc - single linked list - C library - archive - Makefile
This is the first project realized for the 42 Heilbronn school. The goal is to recreate some of the functions of the standard library libc
.
The bonus part involves functions to create single linked lists and performing operations with them like creating new node, adding and removing nodes, retrieve size and last item of the list.
- Clone the repository:
git clone git@github.com:NicoCastelnuovo/libft.git libft
- Navigate to the
libft
directory andmake
the library:
cd libft
make
- Include the header inside your .c file:
#include "libft.h"
- Compile your executable:
cc <your_main.c> ./<libft_path>/libft.a -I ./<libft_path>/include/ -o <program_name>
- Enjoy!