The aim of this project is to code a C library regrouping standard functions that we'll be allowed to use in future 42's projects. We have to code functions from:
- <ctype.h> library
- <stdlib.h> library
- <strings.h> library
- <string.h> library
- <math.h> library
- other non-standard functions
For detailed information, refer to the subject of this project.
Part of my coding mastering journey 🥷
42 is a world class computer programming school that proposes a new way of learning computer science:
- No teachers
- No classrooms
- Open 24/7, 365 days/year
- Students are trained through peer-to-peer pedagogy, and project-based learning.
- Methodology that develops both tech & life skills.
- The 42 cursus is free for whoever is approved in its selection process.
make without bonus functions.
make bonus to compile with bonus functions.
To compile the library, run:
$ cd path/to/libft && makeTo use the library functions in your code, simply include its header:
#include "libft.h"and, when compiling your code, add the required flags:
-lft -L path/to/libft.a -I path/to/libft.hThe repo includes 3 third-party testers to test each function.
Run make f and/or ./run_test when inside the repo's directory.
Go to the directory where libft-war-machine is cloned and run the script bash grademe.sh or simply run the script with the path bash /path/where/grademe.sh/is/cloned
Go to the directory where libftTester is cloned and:
make m = launch mandatory tests
make b = launch bonus tests
make a = launch mandatory tests + bonus tests
