Practice of implementation of each data structure
Especially I always confuse to choose libraries in C, so I want to store my own library. (In C++, STL is good enough.)
-
Clone this repository
$ git clone https://github.com/amiq11/data_structures.git && cd data_structures $ git submodule init && git submodule update
-
Install gyp/ninja
$ sudo apt-get install gyp ninja-build
-
Execute ./generate_gyp.sh
$ ./generate_gyp.sh
-
Build
$ ninja -C ./out/Release -j5
-
Execute
$ ./out/Release/btree.bin
After the above build process, ./out/Release/obj/libdst.a
will be generated. You can use it with header files in inc
directory.
2-Clause BSD as shown in each files.