diff options
author | EliteTK <tomasz.kramkowski@gmail.com> | 2014-05-24 12:58:39 +0100 |
---|---|---|
committer | EliteTK <tomasz.kramkowski@gmail.com> | 2014-05-24 12:58:39 +0100 |
commit | 5bbcb1f542c239ce1e9b5a7d3c7214a7bf001d6a (patch) | |
tree | 47ef91ea74fc60660d79b87ec00f8f25d6366722 /vectest.c | |
parent | 420ef6622d9e8de96ffc1843b9b4c3c3ea87b1c9 (diff) | |
download | c-stuff-5bbcb1f542c239ce1e9b5a7d3c7214a7bf001d6a.tar.gz c-stuff-5bbcb1f542c239ce1e9b5a7d3c7214a7bf001d6a.tar.xz c-stuff-5bbcb1f542c239ce1e9b5a7d3c7214a7bf001d6a.zip |
More random stuff.
Diffstat (limited to 'vectest.c')
-rw-r--r-- | vectest.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vectest.c b/vectest.c new file mode 100644 index 0000000..042bc28 --- /dev/null +++ b/vectest.c @@ -0,0 +1,11 @@ +#include <stdio.h> +#include <stdlib.h> +#include <vecmat/vec.h> + +int main(int argc, char **argv) +{ + Vec *v = vec_new(123, 12.1, 45); + char *s = malloc(50); + vec_tostring(s, v); + printf(s); +} |