bracketmatch专题

利用顺序栈实现:判别表达式中括弧是否正确配对(BracketMatch函数)

#include<stdio.h>#include<stdlib.h>#define INITSTACKSIZE 20#define INCREASESIZE 10typedef char SElemType;typedef struct {SElemType *base;SElemType *top;int stacksize;} SqStack;void initStack(SqSt