summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-06-20 20:55:51 +0200
committerGitHub <[email protected]>2020-06-20 20:55:51 +0200
commit477e7b8b64f19c91f19ce8233f4cf7a97a6d0126 (patch)
tree89bb43af1f26b53b7ac25cd35101730785fa8fdc
parent630cd3059f43e88af1592827675d667250428c04 (diff)
downloadSTC-modified-477e7b8b64f19c91f19ce8233f4cf7a97a6d0126.tar.gz
STC-modified-477e7b8b64f19c91f19ce8233f4cf7a97a6d0126.zip
Update README.md
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 26fbaeac..b7061160 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ All containers, except CString is generic (similar to templates in C++). Typical
```
#include <stc/vector.h>
declare_CVector(my, int);
+
int main(void) {
CVector_my vec = cvector_init;
cvector_pushBack(&vec, 123);
@@ -26,6 +27,7 @@ This is a header only library, so files can simply be included in your program.
#define STC_IMPLEMENT
#include <stc/vector.h>
#include <stc/map.h>
+
declare_CVector(my, int);
declare_CMap(my, int, int);
...