-
设计有理数类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
-
英国石油网,你可以
bp network,you can s
- 2022-08-03 16:16:18下载
- 积分:1
-
useful in the design of the courses (C data structure)!
很有用的有关课程设计的(C数据结构)-useful in the design of the courses (C data structure)!
- 2023-05-05 18:15:03下载
- 积分:1
-
MATLAB六体中制备的轨迹航行自由度…
matlab编写的航行体六个自由度运动轨迹生成程序-matlab body of six degrees of freedom of navigation in the preparation of trajectory generator
- 2022-03-15 13:45:07下载
- 积分:1
-
纯C写的通用数据库代码
纯C写的小型通用数据库代码,研究数据结构很不错的参考实例,模拟交互式的SOL的基本功能:动态建表,组合查询,删除,添加,更新、支持的数据类型为:char(字符型) int(整数型) double(浮点型) string(字符串型)。压缩包内附有设计PPT,学习C语言底层很好的例子,运行时请打开CMD命令提示符环境,示例可新建、删除数据库等操作。
- 2022-10-27 21:30:08下载
- 积分:1
-
Flash烟花效果+源码文件
Flash烟花效果+源码文件,超漂亮的放烟花效果,源码素材网站长所写的,用到了剪辑复制功能,还有一些简单的AS脚本,烟花是一个剪辑,拉到舞台上即可,设置一下透明度和颜色以及大小,就行了,烟花爆炸特效Flash源文件。
- 2022-04-15 03:02:55下载
- 积分:1
-
small chess game can be achieved in various functions such as chess pawn of the...
小游戏可以实现象棋的各个功能比如象棋的各棋子的走法要求以及获胜后的提示,走棋时候的音乐效果-small chess game can be achieved in various functions such as chess pawn of the requirements of the law go after winning tips, and take time to the music game results
- 2022-04-14 12:14:13下载
- 积分:1
-
library card procedures
图书馆借书证程序-library card procedures
- 2022-03-16 16:52:23下载
- 积分:1
-
GPS开发的sdk资料
GPS开发的sdk资料-development of the GPS information sdk
- 2022-09-20 22:45:03下载
- 积分:1
-
BP算法的源代码,很多程序都是用MATLAB工具箱函数…
bp算法的源代码,由于很多程序都是利用matlab工具箱函数做的,不利于是用这个性化设计,对于观察网络内部的结构也带来一定困难,这个算法就可以让社记者跟踪训练过程-bp algorithm source code, a lot of procedures are using Matlab Toolbox function done, then use the negative nature of the design, the internal network for observation of the structure is also a certain difficulties, this algorithm can let reporters tracking the training process
- 2023-05-02 21:55:04下载
- 积分:1