This was my very first project in the 42 Common Core. It felt overwhelming at the beginning, but I pushed through and completed it!🍀
This repository contains the implementation of the Libft project from the 42 Common Core.
The goal is to rebuild standard C library functions and learn the basics of memory management, pointers, and data structures.
During the development of this project, I gained experience in:
- ✅ Writing clean and reusable C functions
- ✅ Managing memory manually (malloc, free)
- ✅ Understanding pointers and array manipulation
- ✅ Creating and manipulating linked lists
- ✅ Writing a custom and optimized Makefile
- ✅ Using header files and static libraries
- ✅ Debugging and testing with norminette and custom test cases
| Function | Status | Function Bonus | Status |
|---|---|---|---|
| ft_atoi | ✔️ | ft_lstnew | ✔️ |
| ft_bzero | ✔️ | ft_lstadd_front | ✔️ |
| ft_calloc | ✔️ | ft_lstsize | ✔️ |
| ft_isalnum | ✔️ | ft_lstlast | ✔️ |
| ft_isalpha | ✔️ | ft_lstadd_back | ✔️ |
| ft_isascii | ✔️ | ft_lstdelone | ✔️ |
| ft_isdigit | ✔️ | ft_lstclear | ✔️ |
| ft_isprint | ✔️ | ft_lstiter | ✔️ |
| ft_memchr | ✔️ | ft_lstmap | ✔️ |
| ft_memcmp | ✔️ | ||
| ft_memcpy | ✔️ | ||
| ft_memmove | ✔️ | ||
| ft_memset | ✔️ | ||
| ft_strchr | ✔️ | ||
| ft_strdup | ✔️ | ||
| ft_strlen | ✔️ | ||
| ft_strncmp | ✔️ | ||
| ft_strnstr | ✔️ | ||
| ft_strrchr | ✔️ | ||
| ft_tolower | ✔️ | ||
| ft_toupper | ✔️ | ||
| ft_itoa | ✔️ | ||
| ft_putchar_fd | ✔️ | ||
| ft_putstr_fd | ✔️ | ||
| ft_putnbr_fd | ✔️ | ||
| ft_split | ✔️ | ||
| ft_strjoin | ✔️ | ||
| ft_strmapi | ✔️ | ||
| ft_strtrim | ✔️ | ||
| ft_substr | ✔️ |
This project is for educational purposes only and is part of the 42 Common Core curriculum. 42 Common Core curriculum,
🔗 If you found this project helpful or interesting, consider supporting it by starring ⭐️ or forking.