x=Pop(S);
switch(ch)
{
case '+':Push(S,x+y);break;
case '-':Push(S,x-y);break;
case '*':Push(S,x*y);break;
case '/':Push(S,x/y);break;
}
}
}
printf("\n最后的答案是:\n");
printf("%d ",GetTop(S));
//return GetTop(S);
}
void main()
{
SeqQueue *Q;
SeqQueue PostQ;
Q=&PostQ;
InitQueue(Q);
CTPostExp(Q);
//while(!QueueEmpty(Q))
//printf("%c",DeQueue(Q));
CPostExp(Q);
printf("\n");
}