Skip to content

handyman0/libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libft

42sp School project

This repository contains all files for the libft project in the 42sp common core cursus. It's a custom-made library of useful functions in C language. The repository includes the Makefile and the libft.h header.

About

This project is a C library of useful functions that are allowed to be used in future 42 School cursus projects. With access to this library, the coding process in incoming projects will be more effective. The aim of rewriting these functions is to get a better understanding of them, and get a wide range of utilities for the next projects.

The code in this repository follows the rules of the 42 Norminette.

Grade

Project Grade

Index

Functions from <ctype.h> library

Functions from <stdlib.h> library

  • ft_atoi - Convert ASCII string to integer
  • ft_calloc - Allocate and zero-initialize array

Functions from <strings.h> library

Functions from <string.h> library

Non-standard functions

Linked list functions (bonus)

Requirements

The library is written in C language and needs the gcc or clang compiler, with <stdlib.h> and <unistd.h> standard libraries to run.

Instructions

1. Compiling the library

For basic functions:

$ make

For bonus functions:

$ make bonus

2. Cleaning all binary (.o) and executable files (.a)

To delete all files generated with make, go to the path and run:

$ make fclean

3. Using it in your code

To use the library functions in your code, simply include this header:

#include "libft.h"

Testing

This library have been tested with Francinette.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published