文件名称:ch08_02
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-12-10
- 文件大小:
- 4.75mb
- 下载次数:
- 1次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
已知一个有理数类Zrf_Ratio,实现如下的操作符重载形式:
friend zrf_Ratio operator-(const zrf_Ratio&)
friend zrf_Ratio operator+(const zrf_Ratio&, const zrf_Ratio&)
friend zrf_Ratio operator-(const zrf_Ratio&, const zrf_Ratio&)
friend zrf_Ratio operator*(const zrf_Ratio&, const zrf_Ratio&)
friend zrf_Ratio operator/(const zrf_Ratio&, const zrf_Ratio&)
-Known a rational class Zrf_Ratio, the following form of operator overloading:
friend zrf_Ratio operator-(const zrf_Ratio &)
friend zrf_Ratio operator+ (const zrf_Ratio &, const zrf_Ratio &)
friend zrf_Ratio operator-(const zrf_Ratio &, const zrf_Ratio &)
friend zrf_Ratio operator* (const zrf_Ratio &, const zrf_Ratio &)
friend zrf_Ratio operator/(const zrf_Ratio &, const zrf_Ratio &)
friend zrf_Ratio operator-(const zrf_Ratio&)
friend zrf_Ratio operator+(const zrf_Ratio&, const zrf_Ratio&)
friend zrf_Ratio operator-(const zrf_Ratio&, const zrf_Ratio&)
friend zrf_Ratio operator*(const zrf_Ratio&, const zrf_Ratio&)
friend zrf_Ratio operator/(const zrf_Ratio&, const zrf_Ratio&)
-Known a rational class Zrf_Ratio, the following form of operator overloading:
friend zrf_Ratio operator-(const zrf_Ratio &)
friend zrf_Ratio operator+ (const zrf_Ratio &, const zrf_Ratio &)
friend zrf_Ratio operator-(const zrf_Ratio &, const zrf_Ratio &)
friend zrf_Ratio operator* (const zrf_Ratio &, const zrf_Ratio &)
friend zrf_Ratio operator/(const zrf_Ratio &, const zrf_Ratio &)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ch08_02
.......\ch08_02
.......\.......\ch08_02.cpp
.......\.......\ch08_02.vcxproj
.......\.......\ch08_02.vcxproj.filters
.......\.......\ch08_02.vcxproj.user
.......\.......\Debug
.......\.......\.....\ch08_02.exe.embed.manifest
.......\.......\.....\ch08_02.exe.embed.manifest.res
.......\.......\.....\ch08_02.exe.intermediate.manifest
.......\.......\.....\ch08_02.lastbuildstate
.......\.......\.....\ch08_02.log
.......\.......\.....\ch08_02.obj
.......\.......\.....\ch08_02_manifest.rc
.......\.......\.....\CL.read.1.tlog
.......\.......\.....\CL.write.1.tlog
.......\.......\.....\link-cvtres.read.1.tlog
.......\.......\.....\link-cvtres.write.1.tlog
.......\.......\.....\link.7528-cvtres.read.1.tlog
.......\.......\.....\link.7528-cvtres.write.1.tlog
.......\.......\.....\link.7528.read.1.tlog
.......\.......\.....\link.7528.write.1.tlog
.......\.......\.....\link.read.1.tlog
.......\.......\.....\link.write.1.tlog
.......\.......\.....\mt.read.1.tlog
.......\.......\.....\mt.write.1.tlog
.......\.......\.....\rc.read.1.tlog
.......\.......\.....\rc.write.1.tlog
.......\.......\.....\vc100.idb
.......\.......\.....\vc100.pdb
.......\ch08_02.sdf
.......\ch08_02.sln
.......\ch08_02.suo
.......\Debug
.......\.....\ch08_02.exe
.......\.....\ch08_02.ilk
.......\.....\ch08_02.pdb
.......\ipch
.......\....\ch08_02-75e9e5b4
.......\....\................\ch08_02-bd1db60.ipch