栈-表达式求值

#include <cstdio> #include <malloc.h> #include <cstring> #define MAXSIZE 101 //运算符栈 struct OpStack { char data[MAXSIZE]; int top; //栈顶元素下一个元素的下标 }; //初始化运算符栈 OpStack *Init_Op() { OpStack
相关文章
相关标签/搜索