From f3b443e0e9c2be7e0c1371c7b49f53f2c6415f6a Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.a@mailoo.org> Date: Thu, 5 Feb 2015 20:14:32 +0100 Subject: [PATCH] README.html --- README.html | 14 ++++++++++++++ README.md | 16 ---------------- 2 files changed, 14 insertions(+), 16 deletions(-) create mode 100644 README.html delete mode 100644 README.md diff --git a/README.html b/README.html new file mode 100644 index 0000000..96e9a0f --- /dev/null +++ b/README.html @@ -0,0 +1,14 @@ +<h1>cgds: C Generic Data Structures library</h1> + +<p>Various data structures, from stack to tree, which can contain any data type.</p> + +<h3>Example</h3> + +<pre><code> 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> + +<p>More examples in the unit tests under test/ folder.</p> diff --git a/README.md b/README.md deleted file mode 100644 index 3ac85d7..0000000 --- a/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# cgds: C Generic Data Structures library - -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); - -More examples in the unit tests under test/ folder. - -### Contact -benjamin [dot] a [at] mailoo.org -- 2.44.0