-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Simple Data Structure (SDS) is a simple data structure library which provides QUEUE, STACK and RING (Circular Buffer) APIs.
The detail documents could be seen in the APIs (corresponding to the version 1.0.3).
Video: http://www.youtube.com/watch?v=rv9GH4pDcvQ
Slide: http://www.slideshare.net/chienhungpan/simple-data-structure-coscup-2013?from_search=1
You can have it from the GitHub: https://github.com/starnight/simple-data-structure
Or, clone the source code from GitHub.
$ git clone git://github.com/starnight/simple-data-structure.git
The last stable version is 1.0.3.
Before compile this library, you must have the compiler, for example GCC, of course. There is a demo code which is 'demo.c'. You can just use the 'make' utility which will compile the codes according to the 'Makefile'. Then execute the program 'demo.bin' for demo. I also use the program to test the APIs I wrote working right or wrong.
$ make
$ ./demo.bin
The program will do the demo three rounds. The first round tests the QUEUE. Second round tests the STACK. Third round tests the RING.
Simple Data Structure's code uses the BSD license, see our 'LICENSE.md' file.