Skip to content

Libft is a comprehensive C library that contains various custom implementations of standard library functions, as well as additional utility functions. It serves as a fundamental building block for future projects.

Notifications You must be signed in to change notification settings

beatrizdile/42sp-libft

Repository files navigation

42 Cursus

libft

libft Logo

The libft project is one of the fundamental projects at the 42 School. The goal of this project is to create a library of essential C functions that participants can use throughout the Piscine and other projects.

The libft library includes a wide range of functions, including string manipulation, memory management, character handling, linked list operations, and more. Participants are required to implement these functions from scratch, without using any built-in C library functions.

Description

libft is a comprehensive C library that contains various custom implementations of standard library functions, as well as additional utility functions to aid in C programming. It serves as a fundamental building block for future projects and provides reusable code that can save time and effort.

The library is designed to be easy to understand, portable, and lightweight, making it suitable for a wide range of projects. It adheres to the norminette coding standards, ensuring clean and consistent code.

Features

Category Description
Memory Functions Functions for efficient memory manipulation and allocation, such as memset, memcpy, memccpy, and more.
String Functions String handling functions to manipulate and analyze strings, including strlen, strcpy, strcat, and more.
Conversion Functions Functions for converting data types, such as atoi (string to integer) and itoa (integer to string).
Character Functions Functions to handle individual characters, like isalpha, isdigit, toupper, and more.
Linked List Functions Custom implementation of basic operations on linked lists, including creation, manipulation, and iteration.
Output Functions Functions to print output, including putchar, putstr, putendl, and putnbr.

By completing the libft project, participants gain a deeper understanding of the inner workings of these fundamental functions and develop essential programming skills. They learn about pointer manipulation, memory allocation, and deallocation, as well as the proper use of structures and data types.

The libft project serves as a building block for subsequent projects during the Piscine, as participants are encouraged to use their self-implemented library functions rather than relying on built-in functions. It also helps participants practice code organization, modular programming, and adhering to a consistent coding style.

Throughout the project, participants are expected to write clean, well-documented, and efficient code. They must adhere to the 42 School's specific coding standards, which emphasize readability, proper variable naming, and adherence to the project's requirements.

Completing the libft project is an important milestone in the 42 School curriculum, as it provides a solid foundation for further exploration of the C programming language and prepares participants for more advanced projects and challenges.

About

Libft is a comprehensive C library that contains various custom implementations of standard library functions, as well as additional utility functions. It serves as a fundamental building block for future projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published