用C写的intconversion(intN,intr){PSeqStackS;intx;if(!r){printf("error!");return0;}S=Init_SeqStack();if(!S){printf("error!");return0;}while(N){Push_SeqStack(S,N%r);N=N/r;}while(!Empty_SeqStack(S)){Pop_SeqStack(S,&x);printf(&