文件名称:shuzhif
-
所属分类:
- 标签属性:
- 上传时间:2016-10-11
-
文件大小:1.03mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
从文件输入任意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
shuzhif/Debug/four.ilk
shuzhif/Debug/four.obj
shuzhif/Debug/four.pdb
shuzhif/Debug/shuzhif.exe
shuzhif/Debug/shuzhif.ilk
shuzhif/Debug/shuzhif.pdb
shuzhif/Debug/vc60.idb
shuzhif/Debug/vc60.pdb
shuzhif/four.cpp
shuzhif/four.dsp
shuzhif/four.dsw
shuzhif/four.ncb
shuzhif/four.opt
shuzhif/four.plg
shuzhif/jieguo.txt
shuzhif/jieguo2.txt
shuzhif/m.txt
shuzhif/nm.txt
shuzhif/shuzhif.dsp
shuzhif/shuzhif.dsw
shuzhif/shuzhif.ncb
shuzhif/shuzhif.opt
shuzhif/shuzhif.plg
shuzhif/x.txt
shuzhif/Debug
shuzhif
shuzhif/Debug/four.ilk
shuzhif/Debug/four.obj
shuzhif/Debug/four.pdb
shuzhif/Debug/shuzhif.exe
shuzhif/Debug/shuzhif.ilk
shuzhif/Debug/shuzhif.pdb
shuzhif/Debug/vc60.idb
shuzhif/Debug/vc60.pdb
shuzhif/four.cpp
shuzhif/four.dsp
shuzhif/four.dsw
shuzhif/four.ncb
shuzhif/four.opt
shuzhif/four.plg
shuzhif/jieguo.txt
shuzhif/jieguo2.txt
shuzhif/m.txt
shuzhif/nm.txt
shuzhif/shuzhif.dsp
shuzhif/shuzhif.dsw
shuzhif/shuzhif.ncb
shuzhif/shuzhif.opt
shuzhif/shuzhif.plg
shuzhif/x.txt
shuzhif/Debug
shuzhif
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
