default:priority='e';
}
return priority;
}
//处理表达式的主体函数
void process(numstack &numstack,opstack &opstack,char x){
double a,b;char c;
static double tempnum=0.00000000;static int len=10;static int dot=0,flags=0;
if(isdigit(x) || x=='.'){
if(x=='.')dot=1;
else{
if(dot==0)