Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/agagniere/libft

Implementation of standard functions
https://github.com/agagniere/libft

42 42born2code 42school conan data-structures low-level reimplementation

Last synced: about 13 hours ago
JSON representation

Implementation of standard functions

Awesome Lists containing this project

README

        

# Libft
Implementation of standard functions

![C/C++ CI](https://github.com/Xxdzs/Libft/workflows/C/C++%20CI/badge.svg?branch=master)
----- -----

The first 42 project.

# Data structures
## Primary
* __ft_array__ : C implementation of `std::vector`
* __ft_bitset__ : Simplistic `std::bitset` implementation
* __ft_deque__ : Double ended queue on a statically allocated space, made for realtime buffering
* __ft_list__ : Doubly linked circular list, has similarities with the kernel list
* __ft_tree__ : An implementation of a binary tree whose nodes are homogeneous in size
* __ft_dict__ : `std::unordered_map` implementation
## Secondary
* __ft_stack__ : A dequeue wrapper
* __ft_string__ : A vector of char
* __ft_heap__ : A priority queue implementation

# Functions
* __ft_printf__ : printf implementation
* __get_next_line__ : read a given file, line by line
* __ft_print_memory__ : Print a dump of a memory section, in hex and ascii
* __itoa_base__ : returns the representation in a given base of a integer
And many others reimplementations of standard functions like `atoi`, `modf`, etc