projects
/
cgds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
'update'
[cgds.git]
/
README.md
diff --git
a/README.md
b/README.md
index
3ac85d7
..
8728d3e
100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-1,16
+1,14
@@
-# cgds: C Generic Data Structures library
+# cgds: C Generic Data Structures library
</h1>
-Various data structures, from stack to tree, which can contain any data type.
+Various data structures, from stack to tree, which can contain any data type.
</p>
-### 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);</code></pre>
-### Contact
-benjamin [dot] a [at] mailoo.org
+More examples in the unit tests under test/ folder.</p>