数制转换程序实现(C语言)

上传:qq_46258 浏览: 38 推荐: 0 文件:其他文档 大小:500kb 上传时间:2019-07-13 09:30:06 版权申诉
用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(&
上传资源
用户评论