那位C语言高手能解决用C语言和数据结构帮我编写一个顺序栈的,实现任意表达式.注:一定要用顺序栈的!
那位C语言高手能解决用C语言和数据结构帮我编写一个顺序栈的,实现任意表达式.注:一定要用顺序栈的!
日期:2007-12-28 19:06:13 人气:3
//这里还要加入我们默认的常量头文件
#include "iostream.h"
#include "head.h"
#define STACK_INIT_SIZE 100
#define STACKINCREMENT 10
typedef int SElemType;
typedef struct
{
SElemType *base;
SElemType *top;
int stacksize;
}SqSt