diff options
| author | Tyge Løvset <[email protected]> | 2020-06-20 20:55:51 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-20 20:55:51 +0200 |
| commit | 477e7b8b64f19c91f19ce8233f4cf7a97a6d0126 (patch) | |
| tree | 89bb43af1f26b53b7ac25cd35101730785fa8fdc | |
| parent | 630cd3059f43e88af1592827675d667250428c04 (diff) | |
| download | STC-modified-477e7b8b64f19c91f19ce8233f4cf7a97a6d0126.tar.gz STC-modified-477e7b8b64f19c91f19ce8233f4cf7a97a6d0126.zip | |
Update README.md
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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);
...
|
