remove obsolete TODO
[cgds.git] / README.html
CommitLineData
f3b443e0
BA
1<h1>cgds: C Generic Data Structures library</h1>
2
3<p>Various data structures, from stack to tree, which can contain any data type.</p>
4
5<h3>Example</h3>
6
7<pre><code> Vector v = vector_new(int);
8 vector_push(v, 32);
9 vector_push(v, 42);
10 int a; vector_get(v, 1, a); //a now contains 42
11 vector_set(v, 0, 0); //v[0] now contains 0
12 vector_destroy(v);</code></pre>
13
14<p>More examples in the unit tests under test/ folder.</p>