}
s->top = s->base;
s->stacksize = STACK_SIZE;
}
boolisEmpty(FStack* s)
{
if (s->top == s->base)
{
returntrue;
}
else
{
returnfalse;
}
}
voidPush(FStack* s, floate)
{
if (s->top - s->base >= s->stacksize)
{
printf("stack is full!\nrealloc %d\n", STACK_INCREMENT);