2021年4月7日

学生练习:中缀表达式求值

摘要: #include<iostream> #define MAXSIZE 20 #define OK 1 #define ERROR 0 using namespace std; typedef struct stack { char *elem; int top; } Sqstack; void in 阅读全文

posted @ 2021-04-07 08:38 ewitt 阅读(33) 评论(0) 推荐(0)

学生练习:括号匹配

摘要: #include <iostream> using namespace std; #define STACKSIZE 10 typedef struct { int *base; int top; int StackSize; } SqList; void initStack(SqList *&s) 阅读全文

posted @ 2021-04-07 08:37 ewitt 阅读(49) 评论(0) 推荐(0)

导航