摘要: #include#includetypedef struct{char s[20][20];int top;}SQ;void copystr(char *a,char *b){ int i=0; do { b[i]=a[i]; i++; } while(a[i]!='\0'); b[i]='\0';}void voidSQ(SQ *s){ s->top=-1;}int ifempty(SQ *s){ return(s->top==-1);}void push(SQ *S,char *c){ if(S->top==... 阅读全文
posted @ 2013-09-10 15:05 kivi 阅读(625) 评论(0) 推荐(0) 编辑