An open API service indexing awesome lists of open source software.

https://github.com/llefranc/42_libft

School project: code a C library regrouping usual functions that will be allowed to use in all other 42projects (with all the bonuses).
https://github.com/llefranc/42_libft

42 42born2code 42paris 42school libft

Last synced: 7 months ago
JSON representation

School project: code a C library regrouping usual functions that will be allowed to use in all other 42projects (with all the bonuses).

Awesome Lists containing this project

README

          

# libft (@42Born2Code)

"Your very first own library"

![Alt text](https://github.com/lucaslefrancq/42_libft/blob/main/libft_example.png)

## About

Libft is a project of the mandatory part of the cursus.
The main goal is to recreate several functions already or not existing in C, that will be
useful later for other 42 projects.

- Here is the [subject][1]

`This project was code on MacOS`

### Building and running the project

1. Download/Clone this repo

git clone https://github.com/lucaslefrancq/42_libft.git

2. `cd` into the root directory, run `Make`. Then run the docker image built.

cd 42_libft
Make

3. You can then compile your main with `libft.a`. Don't forget to include `libft.h`.

gcc -Wall -Werror -Wextra main.c libft.a

[1]: https://github.com/lucaslefrancq/42_libft/blob/main/libft.en.subject.pdf