refresh
This commit is contained in:
parent
0691cb053f
commit
b13a37108f
@ -60,9 +60,9 @@ int main() {
|
|||||||
struct stack* novystack = create_stack(STACK_SIZE);
|
struct stack* novystack = create_stack(STACK_SIZE);
|
||||||
push_stack(novystack, 3,14);
|
push_stack(novystack, 3,14);
|
||||||
push_stack(novystack, 2.71);
|
push_stack(novystack, 2.71);
|
||||||
float x = pop_stack(mystack);
|
float x = pop_stack(novystack);
|
||||||
printf("Popped: %2.f\n", x);
|
printf("Popped: %2.f\n", x);
|
||||||
print_stack(mystack);
|
print_stack(novystack);
|
||||||
destroy_stack(novystack);
|
destroy_stack(novystack);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user