Skip to content

AzzaouiAlae/Libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Libft

Libft 1337 (42 Network)

Libft is a foundational project that involves recreating a wide range of standard C library functions from scratch. This project provided an opportunity to delve into the intricacies of the C language—from implementing basic functions to managing more complex data structures like linked lists.

Overview

The objective of Libft was to gain a deeper understanding of core C functionalities and the internal workings of commonly used functions. Through this project, I honed my skills in writing clean, efficient, and robust C code while also developing a solid grasp of memory management and data handling.

Implemented Functions

Character Functions

  • ft_isalnum
  • ft_isalpha
  • ft_isascii
  • ft_isdigit
  • ft_isprint
  • ft_tolower
  • ft_toupper

String Functions

  • ft_strchr
  • ft_strdup
  • ft_striteri
  • ft_strjoin
  • ft_split
  • ft_strlcat
  • ft_strlcpy
  • ft_strlen
  • ft_strmapi
  • ft_strncmp
  • ft_strnstr
  • ft_strrchr
  • ft_strtrim
  • ft_substr
  • ft_bzero

Conversion Functions

  • ft_atoi
  • ft_itoa

Memory Functions

  • ft_memchr
  • ft_memcmp
  • ft_memcpy
  • ft_memmove
  • ft_memset
  • ft_calloc

File Descriptor I/O Functions

  • ft_putchar_fd
  • ft_putendl_fd
  • ft_putnbr_fd
  • ft_putstr_fd

Bonus: Linked List Functions

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

Project Insights

Working on Libft allowed me to:

  • Deepen my understanding of C language fundamentals: The project required a close examination of how standard library functions operate, which enhanced my overall coding proficiency.
  • Improve code quality and efficiency: I learned to write code that is not only functional but also robust and optimized.
  • Gain practical experience with memory management and data structures: Implementing functions for linked lists and other operations provided invaluable hands-on experience with dynamic memory and data manipulation.

About

Libft 1337 (42 Network)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published