C Algorithms Library


The C programming language includes a very limited standard library in comparison to other modern programming languages. This is a collection of common Computer Science data structures and algorithms which may be used in C projects.

The code is licensed under the ISC license (a simplified version of the BSD license that is functionally identical). As such, it may be reused in any project, whether Proprietary or Open Source.

Data structures



Binary search trees

Utility functions

All of the above data structures operate on void pointers. It is sometimes necessary to compare values (when sorting a list, for example) or generate a hash key (in a hash table or set). This is done by providing a pointer to a function which provides this functionality. The following functions provide this functionality for some common data types.

Generated on Sun Sep 14 03:08:02 2008 for C Algorithms by  doxygen 1.5.5