-
/ *说明:1。自定义分数的类分数,使用这样的分数可以C。
/*
描述:
1.自定义分数类fraction,使用该类可以完成分数的输入、分数的加、减、乘、除二目运算和一目减运算、分数的约分操作、分数的倒数运算、对两个分数进行六种比较运算、以及对分数的输出等操作。
2.尽量用运算符重载函数。如,可重载+、-、*、/、>、>=、 =,< ,< =,==,!=, in order to achieve a variety of computing scores. And achieve scores and mixed integer operations. 3. As far as possible to consider application performance.
- 2023-08-25 05:25:02下载
- 积分:1
-
要从事计算机行业的人,要好好地看一下这篇文章,你在这上面花的时间不会白费的,很好的文章...
要从事计算机行业的人,要好好地看一下这篇文章,你在这上面花的时间不会白费的,很好的文章-be engaged in the computer industry, to properly look at this article, you spend on this time will not be wasted, a good paper
- 2022-02-03 10:33:13下载
- 积分:1
-
显示地震剖面对地震专业的学生来说显示地震剖面特别重要本程序实现了地震剖面的绘制...
显示地震剖面对地震专业的学生来说显示地震剖面特别重要本程序实现了地震剖面的绘制-Seismic profiles show that the earthquake professional students who show the seismic profiles of particular importance to realize this process of mapping the seismic profiles
- 2023-03-20 23:15:04下载
- 积分:1
-
最短路径c++实现
实现对图的一个指定的操作或用图解决一个应用问题问题描述:n个村庄之间的无向图,边上的权值w(i,j)表示村庄i和j之间道路长度.现要从这n个村庄中选择一个村庄新建一所医院,使离医院最远的村庄到医院的路程最短.设计一程序求解此问题. 基本要求:用邻接矩阵表示无向网,应显示所选中的村庄到各村庄的最短距离。
- 2022-11-20 16:35:03下载
- 积分:1
-
这个是sap开发语言abap的一个例子,根据这个例子学习abap开发
这个是sap开发语言abap的一个例子,根据这个例子学习abap开发-This is a development language ABAP sap an example, according to this example to learn ABAP Development
- 2022-01-26 00:05:10下载
- 积分:1
-
主要是用VC++编写的卫星云图的的帧解码及画图程序
主要是用VC++编写的卫星云图的的帧解码及画图程序-primarily use VC++ to prepare the satellite image of the frame decoding and drawing program
- 2023-01-06 23:00:05下载
- 积分:1
-
这是一个用flash编写的自由落体动画,实现起来非常简单。
这是一个用flash编写的自由落体动画,实现起来非常简单。-This is a use of flash animation prepared by the free-fall, it is very simple to achieve.
- 2022-03-25 08:11:59下载
- 积分:1
-
总个数确定后,每张盘curDisk的移动方向maybe_To是确定的且唯一的:如共有三个盘时,盘1始终向左移动。 这里,将柱子由左向右看成A(源柱子Source...
总个数确定后,每张盘curDisk的移动方向maybe_To是确定的且唯一的:如共有三个盘时,盘1始终向左移动。 这里,将柱子由左向右看成A(源柱子Source),B(借助的柱子Borrow),C(目标柱子Target). A的左看成C,B的左看成A,C的左看成B; A的有看成B,B的右看成C,C的右看成A; 每张盘的移动方法(因为不可能连续两次移动相同的盘!): 一个盘curDisk现在在 柱子curStick上,那么curDisk另一个柱子(3个中除了2个的另1个) 只要有选择的选择一个柱子curStick,分析、判断其最上面的盘curDisk的能否向curDisk确定的唯一的方向移动;移动 完后 再 选择 另一个 柱子 分析 判断 就可以完成了 (这个算法特别适合于人玩这个“弱智”(我有同学这么说)游戏,我玩我的文曲星pc1000a上的Hanoi 9层游戏,需要5分钟就可以移动完毕)-total number identified, each set curDisk maybe_To direction of the movement of which is determined only : If there are three disk, was always left a mobile. Here, the columns from left to right as A (source pole Source), B (using the pole Borrow), C (target pole Target). A left as C, B to the left as A, C on the left as B; A as the B, B on the right side as C, the right as A; each set of mobile methods (as it is impossible for the same two mobile disk!) : a set curDisk curStick now on the pole, then curDisk another pole (three in addition to two other one), when given a choice, choose a pole
- 2022-09-17 11:25:03下载
- 积分:1
-
ASP高效探针,调试过,一概很好用的,不错的ASP探针.
ASP高效探针,调试过,一概很好用的,不错的ASP探针.-ASP efficient probe debugging too, were well spent, a good ASP probe.
- 2022-02-14 12:05:37下载
- 积分:1
-
用简单的语言来增强权威的行政长官与一个模块的源代码…
用易语言做的CE源码带提升权限模块用易语言做的CE源码带提升权限模块-With easy language to enhance the authority of the CE source code with a module for easy language to enhance the authority of the CE source code with a module
- 2023-06-16 09:05:03下载
- 积分:1