Skip to content

This project aims to write it's own library: a collection of functions this will be used in the course of other projects.

Notifications You must be signed in to change notification settings

JenniferAraujo/42cursus-Libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42cursus-00-Libft

📚 About the project

This project aims to write it's own library: a collection of functions this will be used in the course of other projects.

Score

thumbnail_IMG_8925

Part 1 - Libc functions

Part 2 - Additional functions

  • ft_itoa - convert integer to ASCII string
  • ft_split - split string, with specified character as delimiter, into an array of strings
  • ft_putchar_fd - output a character to given file
  • ft_putendl_fd - output string to given file with newline
  • ft_putnbr_fd - output integer to given file
  • ft_putstr_fd - output string to given file
  • ft_striteri - applies the 'f' function to each character of the passed string as an argument
  • ft_strjoin - concatenate two strings into a new string (with malloc)
  • ft_strmapi - create new string from modifying string with specified function
  • ft_substr - extract substring from string
  • ft_strtrim - trim beginning and end of string with the specified characters

Makefile

Bonus part

💻 Compiling the project

The library is written in C language and thus needs the -cc compiler and some standard C libraries to run.

Instruction

  1. Compiling the library

      $ make
      $ make bonus
    

Screenshot from 2022-11-18 14-25-14

🐞 Testing

Third-party testers used in the project

teste

teste2

About

This project aims to write it's own library: a collection of functions this will be used in the course of other projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published