dsalgorithms-c
|
A C library of data structures and algorithms.
You can find the full API documentation for dsalgorithms-c here
Download installer script via wget:
or, via curl:
Give it executable permissions and run:
The installer script will download the latest release packages, install via apt-get, and clean up downloaded files after installation.
If the above script was used to install, or if you installed .deb packages manually via apt:
Library functions are prefixed with 'dsalgorithms_':
dsalgorithms-c is in super early development and only contains the following functions at the moment. Many more are on the way!
Function | Description |
---|---|
dsalgorithms_maxInt(const int a, const int b) | Returns the larger of a and b . |
dsalgorithms_maxArrayInt(const int *array, size_t size) | Returns the maximum value in an integer array. |