f-corvaro / LIBFT

"A solid foundation for system programming in C."

Home Page:https://github.com/f-corvaro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"A solid foundation for system programming in C."

subject GitHub code size in bytes Code language count GitHub top language GitHub last commit

Index

LIBFT
Index
0 - About
1 - Folder Structure
2 - What's in it?
3 - Functions Index
4 - Running Tests
5 - Evaluation
5.1 - Tester
5.2 - Correction Sheet
5.3 - My Moulinette Results
6 - Special Thanks
Support Me
Skills developed
Author


0 - About

The journey in 42 Schools starts from here, this is the first project you face it. The purpose of the project is to re-code some libc functions and other common utility functions and include in an archive library, that it will be very helpful for the future projects. In this project there is norminette and Moulinette, so you will be checked from peers and Moulinette.

You can find my complete static C library here.


1 - Folder Structure

.
├── 00-libft
│   ├── libft
│   │   ├── ft_atoi.c
│   │   ├── ft_bzero.c
│   │   ├── ft_calloc.c
│   │   ├── ft_isalnum.c
│   │   ├── ft_isalpha.c
│   │   ├── ft_isascii.c
│   │   ├── ft_isdigit.c
│   │   ├── ft_isprint.c
│   │   ├── ft_itoa.c
│   │   ├── ft_lstadd_back.c
│   │   ├── ft_lstadd_front.c
│   │   ├── ft_lstclear.c
│   │   ├── ft_lstdelone.c
│   │   ├── ft_lstiter.c
│   │   ├── ft_lstlast.c
│   │   ├── ft_lstmap.c
│   │   ├── ft_lstnew.c
│   │   ├── ft_lstsize.c
│   │   ├── ft_memchr.c
│   │   ├── ft_memcmp.c
│   │   ├── ft_memcpy.c
│   │   ├── ft_memmove.c
│   │   ├── ft_memset.c
│   │   ├── ft_putchar_fd.c
│   │   ├── ft_putendl_fd.c
│   │   ├── ft_putnbr_fd.c
│   │   ├── ft_putstr_fd.c
│   │   ├── ft_split.c
│   │   ├── ft_strchr.c
│   │   ├── ft_strdup.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_strtrim.c
│   │   ├── ft_substr.c
│   │   ├── ft_tolower.c
│   │   ├── ft_toupper.c
│   │   ├── libft.h
│   │   └── Makefile

2 - What's in it?

There are 4 sections:

  1. Libc Functions:

    Some of the standard C functions;

  2. Additional Functions:

    Functions that will be useful for other projects;

  3. Bonus Functions:

    Functions that will be useful for linked list manipulation;

  4. Other:

    makefile and libft.h.

After the compiling, you will have also .o files and the libft.a file.


3 - Functions Index

Libc functions Additional functions Bonus part other
ft_atoi.c ft_itoa.c ft_lstadd_back.c libft.h
ft_bzero.c ft_putchar_fd.c ft_lstadd_front.c makefile
ft_calloc.c ft_putendl_fd.c ft_lstclear.c
ft_isalnum.c ft_putnbr_fd.c ft_lstdelone.c
ft_isalpha.c ft_putstr_fd.c ft_lstiter.c
ft_isascii.c ft_split.c ft_lstlast.c
ft_isdigit.c ft_striteri.c ft_lstmap.c
ft_isprint.c ft_strjoin.c ft_lstnew.c
ft_memchr.c ft_strmapi.c ft_lstsize.c
ft_memcmp.c ft_strtrim.c
ft_memcpy.c ft_substr.c
ft_memmove.c
ft_memset.c
ft_strchr.c
ft_strdup.c
ft_strlcat.c
ft_strlcpy.c
ft_strlen.c
ft_strncmp.c
ft_strnstr.c
ft_strrchr.c
ft_tolower.c
ft_toupper.c


4 - Running Tests

To build the library use the make command. To get an overview of all make commands run:

make info

running test


5 - Evaluation

5.1 - Tester

To test my project before the Moulinette and peers corrections, use the:

Supreme Tester of @FranFrau

5.2 - Correction Sheet

5.3 - My Moulinette Results


6 - Special Thanks

@dieremy

helped me to test and resolve leaks in my functions. Furthermore, he introduced to me this project: explaining to me some functions and some theory about it.

@MirkokriM

for the gif idea.


Support Me

Remember to ⭐ the repository. If you want to support me:


Skills developed


Author

Email Github Linkedin Slack


About

"A solid foundation for system programming in C."

https://github.com/f-corvaro

License:MIT License


Languages

Language:C 94.8%Language:Makefile 5.2%