-
设计有理数类rational_number
数据成员:
int numerator(分子)
int denominator(...
设计有理数类rational_number
数据成员:
int numerator(分子)
int denominator(分母)
成员函数
(1)构造函数rational_number ()和rational_number (int x, int y)
(2)拷贝构造函数
(3) 重载运算符“+”、“-”、“*”和“/”
2. 设计有理数类rational_number
数据成员:
int numerator(分子)
int denominator(分母)
成员函数
(1)构造函数rational_number ()和rational_number (int x, int y)
(2)拷贝构造函数
友元重载运算符“+”、“-”、“*”和“/”
3. 分别使用以上两个类,完成有理数的加、减、乘、除运算;验证其加运算、乘运算的交换律。
-Rational Design category rational_number
- 2023-03-17 02:25:04下载
- 积分:1
-
Graduation Collection
毕业设计集合,包含了用VB做的一些管理系统,供大家参考。-Graduation Collection
- 2023-06-25 14:00:05下载
- 积分:1
-
齿轮检测软件,用来检测或计算齿轮用。
无密码。
齿轮检测软件,用来检测或计算齿轮用。
无密码。- Gear examination software, uses for to examine or calculates
the gear to use. Does not have the password.
- 2022-03-21 10:30:56下载
- 积分:1
-
how to identify CPU type
如 何 识 别 CPU 类 型-how to identify CPU type
- 2022-08-16 03:49:13下载
- 积分:1
-
可以用此程序实现一个经典好玩的小游戏:五子棋
可以用此程序实现一个经典好玩的小游戏:五子棋-can use this program to achieve a classic fun little game : 331
- 2022-07-07 09:18:28下载
- 积分:1
-
edit标签和右键菜单
edit标签和右键菜单
edit标签和右键菜单
edit标签和右键菜单
-edit labels and right-click menus and edit labels Right menu edit labels and right-click menus Edi t labeling and right-click menus and edit labels right edit menu and right-click menus labeling
- 2022-03-25 09:51:58下载
- 积分:1
-
小区物业管理信息系统
小区物业管理信息系统
小区物业管理信息系统
小区物业管理信息系统
-ddd
- 2022-07-25 07:16:05下载
- 积分:1
-
教你如何简单显示一章TIFF位图,分析的很透彻,很适合出学者.希望能给你带来帮助!...
教你如何简单显示一章TIFF位图,分析的很透彻,很适合出学者.希望能给你带来帮助!-teach you how simple show a bitmap TIFF chapter, a very thorough analysis, very suitable to scholars. hope that they will bring you!
- 2022-02-01 23:56:32下载
- 积分:1
-
Own procedures, on the time slice of rotation scheduling algorithm.
自己的小程序,关于时间片轮转调度算法的。-Own procedures, on the time slice of rotation scheduling algorithm.
- 2022-03-21 17:23:02下载
- 积分:1
-
his little function rounds a number (or the elements of a vector ot matrix) towa...
his little function rounds a number (or the elements of a vector ot matrix) towards the nearest number with N significant digits.
Examples:
roundsd(0.012345,3) returns 0.0123
roundsd(12345,2) returns 12000
This is a useful complement to Matlab s ROUND, ROUND10 and ROUNDN (Mapping toolbox), especially when dealing with data with a large variety of order of magnitudes.
I was about to upload this file when I found "sd_round.m" by Edward Zechmann (see aknowledgment), which has similar feature (and more). But, because my script is very different in coding (much much shorter), I decided to share it anyway.
- 2022-06-30 21:07:55下载
- 积分:1