X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=README.md;h=342d2d6728067ea2e70b940814a6213e3fa1e922;hb=aef8a9962382222aa64fd5c2f91be9dab1d298e2;hp=2bd208051a985dd0082d6c989c823c99d272487d;hpb=3c5195fda8f61afc52b3a4c338a3af7b0ed39a60;p=cgds.git diff --git a/README.md b/README.md index 2bd2080..342d2d6 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,19 @@ Various data structures, from stack to tree, which can contain any data type. +## Installation + + make [src] + make install +'src' is Makefile default target. + ## Example - Vector v = vector_new(int); + Vector* v = vector_new(int); vector_push(v, 32); vector_push(v, 42); int a; vector_get(v, 1, a); //a now contains 42 vector_set(v, 0, 0); //v[0] now contains 0 - vector_destroy(v); + vector_destroy(v); More examples in the unit tests under test/ folder.