X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=README.md;h=2bd208051a985dd0082d6c989c823c99d272487d;hb=3c5195fda8f61afc52b3a4c338a3af7b0ed39a60;hp=3ac85d7d3d6b63a10ad7655b613e7a3c63e85ba0;hpb=a78687686f5b490d99fae21f9fa8aaa9a34f1812;p=cgds.git diff --git a/README.md b/README.md index 3ac85d7..2bd2080 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,13 @@ Various data structures, from stack to tree, which can contain any data type. -### 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 - vector_set(v, 0, 0); //v[0] now contains 0 - vector_destroy(v); +## Example -More examples in the unit tests under test/ folder. + 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); -### Contact -benjamin [dot] a [at] mailoo.org +More examples in the unit tests under test/ folder.