#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#define TRUE 1
#define FALSE 0
#define EMPTYSTACK -1
#define STACKSIZE 30
int empty(struct stack*);
int pop(struct stack*);
int push(struct stack*, char);
typedef struct stack{
int top;
char stackelement[STACKSIZE];
} CHSTACK;
int main(void)
{
FILE *ifp, *ofp; //input and output file pointers
char *mode = "r";
CHSTACK charstack, *stack_ptr;
//charstack.top = -1;
//stack_ptr = &charstack;
char outputFilename[] = "out.txt";
int i;
|