Update cv3/program.c
This commit is contained in:
parent
54f1444457
commit
79ae837cbe
@ -18,7 +18,7 @@ void push_stack(struct stack *s, float value) {
|
|||||||
s->values[s->size] = value;
|
s->values[s->size] = value;
|
||||||
s->size++;
|
s->size++;
|
||||||
} else {
|
} else {
|
||||||
printf("no input.\n");
|
printf("full stack\n");
|
||||||
exit(1); // Exit the program on overflow
|
exit(1); // Exit the program on overflow
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user