GithubHelp home page GithubHelp logo

f-corvaro / libft Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8.7 MB

"A solid foundation for system programming in C."

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

License: MIT License

Makefile 5.16% C 94.84%
42 42roma 42romaluiss commoncore libft libft-42 libft42 guide 125 bonus

libft's Introduction

"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


libft's People

Contributors

f-corvaro avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.