Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kube/libft
- Owner: kube
- License: unlicense
- Created: 2013-12-13T16:44:54.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-11-03T12:07:45.000Z (about 7 years ago)
- Last Synced: 2024-04-15T00:43:35.051Z (9 months ago)
- Topics: 42born2code, c, libc, libft
- Language: C
- Homepage: http://www.42.fr
- Size: 191 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```