This project has been created as part of the 42 curriculum by lmouta-g.
libft is a custom C library project from the 42 curriculum. The goal is to rebuild a set of standard C library functions, along with additional utility functions that can be reused in future projects.
This library includes string manipulation, memory handling, character checks, linked list utilities, file descriptor output helpers, get_next_line, and ft_printf.
This project introduces low-level memory management, pointer manipulation, linked lists, variadic functions, and general C library design.
makeThis generates one static library:
libft.a
- Build the library:
make- Include the header in your project:
#include "libft.h"- Compile your program with the library:
cc main.c -L. -lft -I includesThe source files are organized by category:
src/ctypesrc/stdlibsrc/stringsrc/memorysrc/iosrc/listsrc/printfsrc/extra
- I don't remember using any specific resources for this project. I think I mostly searched online and read 42 PDFs :D