文件名称:5
介绍说明--下载内容均来自于网络,请自行研究使用
zju hw5 fraction teacher: xww(Write a class that represents a fraction number like 2/3.
Functions below have to be implemented for this class:
default ctor
ctor takes two integers as parameters
copy ctor
arithmetical operators: + - * /
relational operators: < <= == != >= >
type cast to double
to string
inserter and extractor for streams
conversion from a finite decimal string like: 1.414)
Functions below have to be implemented for this class:
default ctor
ctor takes two integers as parameters
copy ctor
arithmetical operators: + - * /
relational operators: < <= == != >= >
type cast to double
to string
inserter and extractor for streams
conversion from a finite decimal string like: 1.414)
相关搜索: fraction
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
005\fraction.cpp | 963 | 2015-06-06 |
005\fraction.h | 1627 | 2015-06-06 |
005\main.cpp | 2360 | 2015-06-06 |
005\Makefile | 194 | 2015-06-06 |
005 | 0 | 2015-06-06 |