/libft

Libft project for WeThinkCode

Primary LanguageC

Libft - C - 2019

Libft is a library we created in C to help us during the WeThinkCode journey.

WeThinkCode:

Part 1: 28/28
Part 2: 24/24
Bonus: 0/6
Five Extra: 5/5

Total: 111/125

Installation:

To get started, clone the Libft repo and go into the folder:

git clone https://github.com/mikefmeyer/libft
cd libft/

Making:

To compile the libft, you need to run the following commands:

make

Using the library:

To use the library, you need to add "#include "libft.h"" in your name and change the directory of your libft.h. If you add a function to the library, you'll need to add the function in the libft.h file and the Makefile.

Compiling with libft.a

Run the following command, by adding your main file and all other files you want to compile.

gcc [Your Main] [Other Files] libft.a
./a.out