Skip to content

Project 1: libft - First project for the formation of software engineers at school 42 São Paulo.

Notifications You must be signed in to change notification settings

Vinicius-Santoro/42-formation-lvl1-1.libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

42-formation-lvl1-1.libft

Project 1 - Libft - First project for the formation of software engineers at school 42 São Paulo

  • This project aims to code a C library regrouping usual functions.

The project consists of three parts

  • In the first part, i recoded a set of the libc functions.
  • In the second part, i coded a set of functions that are either not included in the libc.
  • In the third part (bonus), i created functions to manipulate lists.

Functions made in this project:

Functions from <ctype.h>

Functions from <string.h>

Functions from <stdlib.h>

  • ft_atoi - convert a string to an integer.
  • ft_calloc - allocates memory and sets its bytes' values to 0.

Non-standard functions

  • ft_substr - returns a substring from a string.
  • ft_strjoin - concatenates two strings.
  • ft_strtrim - trims the beginning and end of a string with a specific set of chars.
  • ft_split - splits a string using a char as parameter.
  • ft_itoa - converts a number into a string.
  • ft_strmapi - applies a function to each character of a string.
  • ft_striteri - applies a function to each character of a string.
  • ft_putchar_fd - output a char to a file descriptor.
  • ft_putstr_fd - output a string to a file descriptor.
  • ft_putendl_fd - output a string to a file descriptor, followed by a new line.
  • ft_putnbr_fd - output a number to a file descriptor.

Linked list functions

About

Project 1: libft - First project for the formation of software engineers at school 42 São Paulo.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published