文件名称:shuzhif
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2016-10-11
- 文件大小:
- 1.03mb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
从文件输入任意M进制的数,转换为十进制数,以字符形式从文件输入数x,算法实现将x的每一位数字与M的幂相乘最后相加。将十进制转换为其他任意进制有利用数组(shi_array)和栈(initstack)两种方法。将M进制的数转换为其他任意进制时,需要先将M进制的数x转换为十进制数,再利用shi_array和栈函数实现十进制向其他进制的转换。要特别注意M进制的数x中包含的数字不能超过M以及字符型的数字包括1~9和A~F。将结果再保存在文件中。-Input a file of any M-ary number is converted to decimal, as a character a file input number x, algorithm each digit and M a power of x is multiplied by the final sum. To convert decimal to hexadecimal have any of the other two methods by using the array (shi_array) and stack (initstack). When converting M-ary binary number to any other, we need to first M x hexadecimal number is converted to a decimal number, and then use shi_array and stack function to achieve decimal radix conversion. Pay special attention to the number of M-ary digital x contains no more than M and character figures include 1 to 9 and A ~ F. The results are then saved in a file.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shuzhif\Debug\four.exe
.......\.....\four.ilk
.......\.....\four.obj
.......\.....\four.pdb
.......\.....\shuzhif.exe
.......\.....\shuzhif.ilk
.......\.....\shuzhif.pdb
.......\.....\vc60.idb
.......\.....\vc60.pdb
.......\four.cpp
.......\four.dsp
.......\four.dsw
.......\four.ncb
.......\four.opt
.......\four.plg
.......\jieguo.txt
.......\jieguo2.txt
.......\m.txt
.......\nm.txt
.......\shuzhif.dsp
.......\shuzhif.dsw
.......\shuzhif.ncb
.......\shuzhif.opt
.......\shuzhif.plg
.......\x.txt
.......\Debug
shuzhif