In this project, the objective is to create a library, called libft, consisting of re-implementations of some standard C library functions, as well as additional utility functions that might be useful my future projects.
To get started with using or contributing to this project, follow these steps:
-
Clone the repository:
$ git clone https://github.com/yourusername/libft.git $ cd libft
-
Build the project :
$ make
-
create a main.c :
#include "libft.h" int main() { char *str = "Hello, world!"; int length = ft_strlen(str); ft_putnbr_fd(length, 1); return 0; }
$ gcc -o main main.c libft.a
Contributions to this project are welcome. To contribute, follow these steps:
- Fork the repository.
- Create a new branch (git checkout -b feature/improvement). Make your changes.
- Commit your changes (git commit -am 'Add new feature').
- Push to the branch (git push origin feature/improvement).
- Create a new Pull Request.
Please ensure your code follows the project's coding standards and conventions.