The first and necessary project, your best friend
My library prepared for get next line and printf, with which I have obtained the 125 points.
This is a essential cursus library, with a focus on safety and some extra functions that do stuff like return the absolute value, return the power of an int, return whether a string will overflow an int if passed to atoi and free a pointer and point it to NULL.
Creation of my own library (libft.a) with standard C functions, as well as some additional useful functions.
- Project developed in C language.
- The project compiles with the 'norma' (Norminette).
- Makefile is included which compiles the files source to the required output (.a) with the -Wall, -Werror and -Wextra flags.
• isalpha • isdigit • isalnum • isascii • isprint • strlen
• memset • bzero • memcpy • memmove • strlcpy • strlcat
• toupper • tolower • strchr • strrchr • strncmp • memchr
• memcmp • strnstr • atoi • calloc • strdup • ft_substr
• ft_strjoin • ft_strtrim • ft_split • ft_itoa • ft_strmapi • ft_striteri
• ft_putchar_fd • ft_putstr_fd • ft_putendl_fd • ft_putnbr_fd
The bonus rule created in the Makefile allows to compile the functions to manipulate linked lists. The defnition of the struct is:
All the bonus functions are named like ft_function_bonus.c
• ft_lstnew • ft_lstadd_front • ft_lstsize
• ft_lstlast • ft_lstadd_back • ft_lstdelone
• ft_lstclear • ft_lstiter • ft_lstmap