Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kube/libft

42 C Library implementation
https://github.com/kube/libft

42born2code c libc libft

Last synced: about 2 months ago
JSON representation

42 C Library implementation

Awesome Lists containing this project

README

        

LibFt
=====
> "Arbre renversé par le vent avait plus de branches que de racines."

## Construction
This lib is divided in 10 sub-folders :

|||
|---|---|
|**Colors**|Handles colors blend modes, complementary colors, and fade.|
|**Convert**|Basic conversions on numbers and strings, and a basic hash function.|
|**Hashmap**|Generic simple Hashmap.|
|**Input**|Stuff to get user or file input.|
|**Lists**|Lists structures, and functions to handle them.|
|**Math**|Vectors, Infinite Numbers, Trigonometry, and basics.|
|**Memory**|Functions to handle memory.|
|**Print**|Print texts to terminal.|
|**Strings**|Handle strings, make searches in them, check properties.|
|**Test Framework**|A quick and dirty test framework.|

## Compilation

|Rule|Description|
|----|-----------|
|`usemath`|Use `` instead of ``.
Will be faster for trigonometry, vectors operations and geometry.|
|`tests`|Launch tests after compilation|

##### Compilation examples :
```sh
# Compile the lib with functions
make usemath all
```

```sh
# Compile the lib and run the tests
make tests
```

```sh
# Compile the lib with and run the tests
make usemath tests
```