Giter Site home page Giter Site logo

42-libft's Introduction

lib42

The libft project at 42 School involves creating a library of basic functions, often found in the standard libraries of the C language, as well as some functions specific to the educational environment at 42.

Fonctions

  • isalpha

  • isdigit

  • isalnum

  • isascii

  • isprint

  • strlen

  • memset

  • bzero

  • memcpy

  • memmove

  • strlcpy

  • strlcat

  • toupper

  • tolower

  • strchr

  • strrchr

  • strncmp

  • memchr

  • memcmp

  • strnstr

  • atoi

  • calloc

  • strdup

  • ft_substr

  • ft_strjoin

  • ft_strtrim

  • ft_split

  • ft_itoa

  • ft_strmapi

  • ft_striteri

  • ft_putchar_fd

  • ft_putstr_fd

  • ft_putendl_fd

  • ft_putnbr_fd

Bonus Functions

  • ft_lstnew
  • ft_lstadd_front
  • ft_lstsize
  • ft_lstlast
  • ft_lstadd_back
  • ft_lstdelone
  • ft_lstclear
  • ft_lstiter
  • ft_lstmap

and more

  • ft_atoi_base
  • ft_list_remove_if
  • ft_strcpy_map
  • ft_strlen_map
  • ft_strcpy_map
  • ft_atol
  • ft_free_list

Installation

To integrate the libft library into your project, follow these steps:

  1. Clone this repository to your local machine.
    git clone https://github.com/Lilien86/42-Libft
    cd lib42
    make
    
    make clean
    
    make fclean
    
    make re

Using the Functions

Using the Functions

To compile your program with the libft library, follow these steps:

  1. Ensure that your source file includes the header file libft.h.
    #include "libft.h"
  2. Compile the program with the libft.a library.
    gcc -o mon_programme mon_programme.c -L. -lft

42-libft's People

Contributors

lilien86 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.