#stack
A very bland C implementation of a stack of integers.
Usage:
struct stack my_stack;
init_stack(&my_stack);
push(3, &my_stack);
printf("Let's pop the value now: %d\n",
pop(&my_stack));
free_stack_data(&my_stack);
A very basic integer stack in C.
#stack
A very bland C implementation of a stack of integers.
Usage:
struct stack my_stack;
init_stack(&my_stack);
push(3, &my_stack);
printf("Let's pop the value now: %d\n",
pop(&my_stack));
free_stack_data(&my_stack);
A very basic integer stack in C.
GNU General Public License v3.0