X-Git-Url: https://git.auder.net/?p=cgds.git;a=blobdiff_plain;f=README.md;h=c7cd81d2cba3d0cd13593e0fc77e463fce268bd0;hp=3ac85d7d3d6b63a10ad7655b613e7a3c63e85ba0;hb=HEAD;hpb=a78687686f5b490d99fae21f9fa8aaa9a34f1812 diff --git a/README.md b/README.md index 3ac85d7..c7cd81d 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,15 @@ Various data structures, from stack to tree, which can contain any data type. -### Example - Vector v = vector_new(int); +## Installation + + make [src] + make install +'src' is Makefile default target. + +## Example + + Vector* v = vector_new(int); vector_push(v, 32); vector_push(v, 42); int a; vector_get(v, 1, a); //a now contains 42 @@ -11,6 +18,3 @@ Various data structures, from stack to tree, which can contain any data type. vector_destroy(v); More examples in the unit tests under test/ folder. - -### Contact -benjamin [dot] a [at] mailoo.org