badrabkar / libft

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Libft

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.

Table of Contents

  1. Getting Started
  2. Usage
  3. Contributing

Getting Started

To get started with using or contributing to this project, follow these steps:

  1. Clone the repository:

    $ git clone https://github.com/yourusername/libft.git
    $ cd libft
  2. Build the project :

    $ make
  3. 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;
    }

Usage

$ gcc -o main main.c libft.a

Contributing

Contributions to this project are welcome. To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/improvement). Make your changes.
  3. Commit your changes (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature/improvement).
  5. Create a new Pull Request.

Please ensure your code follows the project's coding standards and conventions.

About


Languages

Language:C 96.5%Language:Makefile 3.5%