去除多余括号
摘要:
struct OP { int pos; char op; }; char * Remove(char * str) { char * p = str; int i = 0; stack ops; vector rems; while(*p!='\0') { OP op; if(*p=='+'||*p=='-'||*p=='*'||*p=='/'||*p=='(') ... 阅读全文
posted @ 2010-12-02 15:46 SammyLan 阅读(506) 评论(0) 推荐(0) 编辑