improved printing of n-dimensional vectors
This commit is contained in:
@@ -42,6 +42,15 @@ int main(int argc, char **argv) {
|
||||
printf("pushing the first vector into the newly created one\n");
|
||||
vectorPush(w, v);
|
||||
vectorPrint(w);
|
||||
printf("once again\n");
|
||||
vectorPush(w, v);
|
||||
vectorPrint(w);
|
||||
printf("popping\n");
|
||||
vector_t *poppedv = (vector_t *)vectorPop(w);
|
||||
printf("popped vector\n");
|
||||
vectorPrint(poppedv);
|
||||
printf("vector from which was popped after pop\n");
|
||||
vectorPrint(w);
|
||||
|
||||
printf("initializing a char vector (variable-length string) with value \"Hello, world!\"\n");
|
||||
vector_t *charVector = vectorInit(CHAR);
|
||||
|
||||
Reference in New Issue
Block a user