1 #include<iostream> 2 #include<string> 3 #include<stack> 4 using namespace std; 5 6 void TransformExpr(char *oldexpr,char *newexpr) 7 { 8 stack<char> s; 9 int i=0; 10 int j=0; 11 while(oldexpr[i] != '