/Libft

42cursus' Libft project. Start date 09/11/2022. Finish date 24/11/2022.

Primary LanguageC

Libft

Final Grade: 125/ 100%

Your very first own library

GitHub code size in bytes GitHub top language GitHub last commit

💡 About

This project is your very first project as a student at 42. You will need to recode a few functions of the C standard library as well as some other utility functions that you will use during your whole cursus.

This project is about coding a C library containing a lot of general purpose
functions that our future programs would rely on.

My Libft now also includes my ft_printf !


🛠️ Usage

1. Cloning

To clone, run:

git clone https://github.com/WudDoo/Libft.git

2. Compiling

To compile, run make at the root of the Libft directory.

3. Using it

To use my libft, simply include its header with the correct path in your code:

#include "<PATH>/libft.h"

And compile your code with my static library libft.a:

$(CC) $(CFLAGS) $(YOUR_SRCS) $(<PATH>/libft.a)

You could also install it to your machine by adding

  • libft.a to /usr/local/lib
  • libft.h to /usr/local/include