17 lines
269 B
C
17 lines
269 B
C
#include <odweta/vector.h>
|
|
|
|
int main(int argc, char **argv) {
|
|
vector_t *v = vectorInit(VECTOR);
|
|
|
|
vector_t *floatv = vectorInit(FLOAT);
|
|
|
|
vectorPush(floatv, &(float){3.14});
|
|
vectorPush(floatv, &(float){55.5});
|
|
|
|
vectorPush(v, floatv);
|
|
|
|
vectorPrint(v);
|
|
|
|
return 0;
|
|
}
|