文件名称:c++ 控制台 实现大数运算, 任意位整数运算
文件大小:332KB
文件格式:RAR
更新时间:2015-07-18 14:35:08
大数运算 任意位整数运算 大数四则运算
该程序实现了 (1) 实现int单参数构造函数,从int构造,允许隐式转换; (2) 实现const char *单参数构造函数,从十进制数字字符串构造,不允许隐式转换; (3) 实现拷贝构造函数和赋值操作符; (4) 实现整数类之间的加、减、乘、除操作符及相应复合赋值操作符; (5) 实现==、!=、>、>=、<、<=操作符; (6) 实现十进制、十六进制、二进制输出整数值;
【文件预览】:
c++大数运算类
----TestInteger.ncb(1.13MB)
----TestInteger()
--------TestInteger.cpp(4KB)
--------TestInteger.vcproj.FENGHUO.gcliu.user(1KB)
--------stdafx.h(320B)
--------float.cpp(9KB)
--------integer.cpp(10KB)
--------byte_stream.cpp(11KB)
--------targetver.h(765B)
--------integer.h(3KB)
--------TestInteger.vcproj.XP-201105211826.Administrator.user(1KB)
--------stdafx.cpp(298B)
--------ReadMe.txt(1KB)
--------TestInteger.vcproj(5KB)
--------float.h(2KB)
--------byte_stream.h(8KB)
----TestInteger.suo(34KB)
----TestInteger.sln(899B)