
mystack.h
By:
t1nman on
May 22nd, 2012 | syntax:
C | size: 0.23 KB | hits: 31 | expires: Never
#define SIZE 200
typedef struct
{
char v[SIZE];
int top;
} Stack;
void push(Stack *S, char val);
char pop(Stack *S);
void init(Stack *S);
char showtop(Stack *S);
int empty(Stack *S);
void StackPrint(Stack *S);