Containers
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
|
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
Inspired by the C++ standard library; however, implemented using C with different function interfaces as the C++ standard library but with the same container names.
It is possible to compile this library as either static .a
or dynamic .so
:
The installation process is as follows:
make static_clang
/make static_gcc
or make dynamic_clang
/make dynamic_gcc
for either a static or dynamic library.containers.h
and containers.a
/containers.so
into your project to include the containers.containers.a -ldl
/containers.so -ldl
as an argument.For high-level documentation and usage, visit the documentation page. For in-depth documentation, visit the code docs page.
The container types that this library contains are described below.
Data structures which can be accessed sequentially.
Data structures that can be quickly searched which use comparators.
Data structures that can be quickly searched which use hashing.
Data structures which adapt other containers to enhance functionality.