第一个while应该用!=第二个应该用T
void proc_2(SeqStack S,int e){SeqStack T;int d;InitStack(&T);while(S.top=-1){Pop(&S,&d);if(d!=e) Push(&T,d);}while(S.top!=-1){Pop(&T,&d);Push(&S,d);}printf("%d ",S.elem);}这是算法