文件名称:fraction

下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。

介绍说明--下载内容均来自于网络,请自行研究使用

1.自定义分数类fraction,使用该类可以完成分数的输入、分数的加、减、乘、除二目运算和一目减运算、分数的约分操作、分数的通分操作、分数的倒数运算、对两个分数进行六种比较运算、以及对分数的输出等操作。

2.改造上述分数类,将其中使用的普通函数尽量改写成运算符重载函数。如,可重载+、-、*、/、>、>=、<、<=、==、!=,以实现分数的各种运算。并且实现分数与整数的混合运算。

3.从分数类派生出一个用来描述整型的Integer类,完善整型类Integer,使其能完成整数的各种操作。为分数类fraction和整型类Integer各增加一个成员函数digit_number(),用来统计一个分数中数字字符的数量(如:13/34,数字字符的数量为4)和一个整数中的数字字符的数量(如:13345,数字字符的数量为5)。-1. Custom Class Score fraction, the use of such scores can be input, scores of add, subtract, multiply, with the exception of the second head and a head operation by operation, scores of some sub-operation, scores of通分operation, scores of the last operation of the two scores for the six comparison operators, as well as scores of operation of the output.相关搜索: fraction
13
使用
分数类
fraction
定义
整数
类Integer

(系统自动生成,下载前可以参看下载内容)

下载文件列表

Exercise3

.........\debug

.........\.....\Exercise3.exe

.........\.....\Exercise3.ilk

.........\.....\Exercise3.pdb

.........\Exercise3

.........\.........\Debug

.........\.........\.....\BuildLog.htm

.........\.........\.....\Exercise3.exe.embed.manifest

.........\.........\.....\Exercise3.exe.embed.manifest.res

.........\.........\.....\Exercise3.exe.intermediate.manifest

.........\.........\.....\Exercise3.obj

.........\.........\.....\Exercise3.pch

.........\.........\.....\fraction.obj

.........\.........\.....\Integer.obj

.........\.........\.....\mt.dep

.........\.........\.....\stdafx.obj

.........\.........\.....\vc80.idb

.........\.........\.....\vc80.pdb

.........\.........\Exercise3.cpp

.........\.........\Exercise3.o

.........\.........\Exercise3.vcproj

.........\.........\Exercise3.vcproj.N-79BF30D49C474.admin.user

.........\.........\fraction.cpp

.........\.........\fraction.h

.........\.........\Integer.cpp

.........\.........\Integer.h

.........\.........\ReadMe.txt

.........\.........\stdafx.cpp

.........\.........\stdafx.h

.........\Exercise3.ncb

.........\Exercise3.sln

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org