1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4 #define INIT_STACK_SIZE 100
5 typedef struct
6 {
7 char * chOperator;
8 int dwtop;
9 }OPND;
10
11 void InitStack(OPND *);
12 char Pop(OPND *);
13 void Push(OPND *,char );
14 char GetTop(OPND);
15 void printStack(OPND);
16
17 char stringBuffer[128] = {'