C programming can be very tedious when one doesn’t have access to the highly useful standard functions. This project is about understanding the way these functions work, implementing and learning to use them. Your will create your own library. It will be helpful since you will use it in your next C school assignments
Clone or download the project.
To use, include the header
Run make inside the project folder.
#include "libft.h"In case your project and libft are in different folders provide the correct path in the header include.
make - Compile libft mandatory files.
make bonus - Compile libft bonus files.
make all - Compiles all previous parts.
make clean - Delete all .o files.
make fclean - Delete all .o and .a files.
make re - Use rules fclean + all.
-
ft_isalpha -
ft_isdigit -
ft_isalnum -
ft_isascii -
ft_toupper -
ft_tolower
-
ft_strlen -
ft_strlcpy -
ft_strlcat -
ft_strchr -
ft_strrchr -
ft_strncmp -
ft_strnstr -
ft_substr -
ft_strjoin -
ft_strtrim -
ft_split -
ft_strmapi -
ft_striteri
-
ft_calloc -
ft_memset -
ft_bzero -
ft_memcpy -
ft_memmove -
ft_memchr -
ft_memcmp -
ft_strdup
-
ft_atoi -
ft_itoa
-
ft_putchar_fd -
ft_putstr_fd -
ft_putendl_fd -
ft_putnbr_fd
-
ft_lstnew -
ft_lstadd_front -
ft_lstsize -
ft_lstlast -
ft_lstadd_back -
ft_lstdelone -
ft_lstclear -
ft_lstiter -
ft_lstmap
- Add a description in the .h file explaining in a coment below each function prototype exactly what the function is suposed to do.
- Importance of programing good practices to keep our work easy to understand, use and manipulate in ways that can help others.