Skip to content
/ Libft Public

A library of standard C functions from scratch. These functions cover essential operations such as string manipulation, memory allocation, and more. The primary goal is to deepen understanding of these fundamental concepts and provide a reliable library for use in subsequent projects.

Notifications You must be signed in to change notification settings

amaitou/Libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Quotation-Albert-Einstein-Weak-people-revenge-Strong-people-forgive-Intelligent-People-Ignore-124-25-28


Libft

This is the very first project in the 42Cursus and it aims to recode and reproduce the behavior of some pre-defined functions in C Standard Libs.
some of these functions are pre-defined in the standard C libs and others are not.

The Libft project consists of three parts:

  • Mandatory Part 1
  • Mandatory Part 2
  • Bonus Part

To validate your project and have it accepted, you must at least do both of the Mandatory Parts. (The bonus part is not that necessary but it gives extra XPs and days for The Blackhole).


Functions

Note: I haven't shared the PDF of this project, as well as, I haven't explained anything due to school privacy reasons!

stdlib.h

  • ft_atoi
  • ft_calloc
  • ft_itoa

string.h

  • ft_bzero
  • ft_strlen
  • ft_strlcpy
  • ft_strlcat
  • ft_strdup
  • ft_strchr
  • ft_strrchr
  • ft_strncmp
  • ft_strnstr
  • ft_memset
  • ft_memmove
  • ft_memcpy
  • ft_memcmp
  • ft_memchr

ctype.h

  • ft_isalnum
  • ft_isalpha
  • ft_isprint
  • ft_iascii
  • ft_digit
  • ft_tolower
  • ft_toupper

Other Functions

  • ft_lstadd_back
  • ft_lstadd_front
  • ft_lstnew
  • ft_lstsize
  • ft_lstlast
  • ft_lstdelone
  • ft_lstclear
  • ft_lstiter
  • ft_lstmap
  • ft_split
  • ft_strsub
  • ft_putchar_fd
  • ft_putstr_fd
  • ft_putendl_fd
  • ft_putnbr_fd
  • ft_strjoin
  • ft_strmapi
  • ft_striteri
  • ft_strmapi
  • ft_strtrim

Things you will learn in this project

Linked Lists

Memory Allocation and manipulation

String manipulation

Understanding how Memory works

File Descriptors

Makefile

Pointers in depth


Contact Me

About

A library of standard C functions from scratch. These functions cover essential operations such as string manipulation, memory allocation, and more. The primary goal is to deepen understanding of these fundamental concepts and provide a reliable library for use in subsequent projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published