#ifndef _STACK_H #define _STACK_H #include #include #include #define MAXIMUM 5 #define RESIZE 1 typedef struct stack { int * base; int * top; int size; } Stack; bool InitStack(Stack * s); bool DestroyStack(Stack * s); bool Push(Stack * s, int n); bool Pop(Stack * s, int * n); int GetTop(Stack * s); #endif