Skip to content

h5law/dsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dsa

Plain C implementations of standard Data Structures and Algorithms. Intended to expand the standard library with a simple library to import in all your projects while allowing you to exclude parts when building the library.

Build

As root

make build
make install

This installs both the static and shared libraries along with their headers.

This will put the library and headers under:

  • /usr/local/lib
  • /usr/local/include

Unless the PREFIX variable is changed, just ensure the paths are in the system's C_INCLUDE_PATH and LIBRARY_PATH respectively.

And to deinstall

make deinstall

Examples

To compile the examples follow the following example:

clang `pkg-config --cflags dsa` -o examples/demo_vector  examples/demo_vector.c `pkg-config --libs dsa`

About

Implementations of common DSA in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published