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.
Take the time to expand your libft throughout the year.
However, when working on a new project, donβt forget to ensure the functions used in your library are allowed in the project guidelines.
subject v.15
Project Structure π
βββ README.md
βββ LICENSE
βββ Dockerfile
βββ libft
β βββ Makefile
β βββ include
β β βββ libft.h
β βββ src
β βββ algo
β β βββ ft_lds.c
β β βββ ft_lis.c
β βββ fd
β β βββ ft_exit.c
β β βββ ft_putchar_fd.c
β β βββ ft_putendl_fd.c
β β βββ ft_putnbr_fd.c
β β βββ ft_putstr_fd.c
β βββ _get_next_line
β β βββ ft_get_next_line.c
β βββ hex
β β βββ ft_hexlen.c
β β βββ ft_ultoa_hex.c
β β βββ ft_utoa_hex.c
β βββ is
β β βββ ft_isalnum.c
β β βββ ft_isalpha.c
β β βββ ft_isascii.c
β β βββ ft_isdigit.c
β β βββ ft_isprint.c
β βββ mem
β β βββ ft_bzero.c
β β βββ ft_calloc.c
β β βββ ft_free.c
β β βββ ft_memchr.c
β β βββ ft_memcmp.c
β β βββ ft_memcpy.c
β β βββ ft_memmove.c
β β βββ ft_memset.c
β βββ _printf
β β βββ ft_printf_assembly_line.c
β β βββ ft_printf.c
β β βββ ft_printf_format.c
β β βββ lst
β β βββ t_print_add_back.c
β β βββ t_print_add_front.c
β β βββ t_print_add_inside.c
β β βββ t_print_del_last.c
β β βββ t_print_last.c
β β βββ t_print_new.c
β β βββ t_print_size.c
β β βββ t_print_split_str.c
β βββ str
β βββ ft_atoi.c
β βββ ft_char_append.c
β βββ ft_itoa.c
β βββ ft_n_is_in_arr.c
β βββ ft_split.c
β βββ ft_split_substr.c
β βββ ft_strappend.c
β βββ ft_strchr.c
β βββ ft_strdup.c
β βββ ft_stridx.c
β βββ ft_striteri.c
β βββ ft_strjoin.c
β βββ ft_strlcat.c
β βββ ft_strlcpy.c
β βββ ft_strlen.c
β βββ ft_strmapi.c
β βββ ft_strncmp.c
β βββ ft_strnstr.c
β βββ ft_strrchr.c
β βββ ft_strrev.c
β βββ ft_strtrim.c
β βββ ft_substr.c
β βββ ft_tolower.c
β βββ ft_toupper.c
β βββ ft_utoa.c
βββ _subject
βββ en.subject.pdf
Implementing a collection of functions from the C standard library (libc) with the same prototypes and behaviors as the originals, prefixed with "ft_". This includes functions for character classification, string manipulation, memory management, and conversion. Functions to implement include:
- Character Functions:
isalpha
,isdigit
,isalnum
,isascii
,isprint
,toupper
,tolower
- String Functions:
strlen
,strchr
,strrchr
,strncmp
,strnstr
,atoi
- Memory Functions:
memset
,bzero
,memcpy
,memmove
,memchr
,memcmp
- Memory Allocation Functions:
calloc
,strdup
(usingmalloc
)
git clone https://github.com/kichkiro/libft.git
cd libft/
docker build -t libft:42 .
docker run -d --name libft libft:42
docker cp libft:/usr/src/app/libft/libft.a .
The static library libft.a is now in the current dir, so it can be included in C code.
See LICENSE