refresh
This commit is contained in:
parent
b13a37108f
commit
780529c399
@ -58,7 +58,7 @@ void destroy_stack (struct stack* s) {
|
|||||||
|
|
||||||
int main() {
|
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(novystack);
|
float x = pop_stack(novystack);
|
||||||
printf("Popped: %2.f\n", x);
|
printf("Popped: %2.f\n", x);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user