文件名称:8_8
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.12kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
已知一个有理数类Zrf_Ratio,实现如下的操作符重载形式:
friend std::ostream& operator< (std::ostream&, const zrf_Ratio&)
friend std::istream& operator>>(std::istream&, zrf_Ratio&)
friend bool operator==(const zrf_Ratio&, const zrf_Ratio&)
friend bool operator<(const zrf_Ratio&, const zrf_Ratio&)
-Known type of a rational number Zrf_Ratio, the achievement of the following form of operator overloading: friend std:: ostream & operator < < (std:: ostream & , const zrf_Ratio & ) friend std:: istream & operator> > (std:: istream & , zrf_Ratio & ) friend bool operator == (const zrf_Ratio & , const zrf_Ratio & ) friend bool operator < (const zrf_Ratio & , const zrf_Ratio & )
friend std::ostream& operator< (std::ostream&, const zrf_Ratio&)
friend std::istream& operator>>(std::istream&, zrf_Ratio&)
friend bool operator==(const zrf_Ratio&, const zrf_Ratio&)
friend bool operator<(const zrf_Ratio&, const zrf_Ratio&)
-Known type of a rational number Zrf_Ratio, the achievement of the following form of operator overloading: friend std:: ostream & operator < < (std:: ostream & , const zrf_Ratio & ) friend std:: istream & operator> > (std:: istream & , zrf_Ratio & ) friend bool operator == (const zrf_Ratio & , const zrf_Ratio & ) friend bool operator < (const zrf_Ratio & , const zrf_Ratio & )
(系统自动生成,下载前可以参看下载内容)
下载文件列表
8_作业8.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.