]>
git.datanom.net - clib.git/blob - demo/demo.c
8 Stack* stack = stack_init();
9 if (stack_empty(stack))
10 printf("Stack is empty\n");
12 int* i = malloc(sizeof(int*));
15 int* j = malloc(sizeof(int*));
18 int* val = stack_pop(stack);
19 printf("Stack back: %i\n", *val);
21 void** elems = stack_clear(&stack);
22 for (int i = 0; elems[i]; i++)
This page took 0.102068 seconds and 6 git commands to generate.