-
定义一个抽象类的CShape,包括纯虚数Area(用来计算面积)和SetData(用来重设形状大小)。然后派生出三角形CTriangle类、矩形CRect类、圆...
定义一个抽象类的CShape,包括纯虚数Area(用来计算面积)和SetData(用来重设形状大小)。然后派生出三角形CTriangle类、矩形CRect类、圆CCircle类,分别求其面积。最后定义一个CArea类,计算这几个形状的面积之和,各形状的数据通过CArea类构造函数或成员函数来设置。-Defines an abstract class CShape, including the pure imaginary number Area (used to calculate the area) and SetData (used to reset the shape, size). Then the triangle CTriangle derived class, rectangle CRect class, round CCircle categories, seeking its size. The final definition of a CArea class, calculate the size of the sum of several shapes, each shape data through CArea class constructor or member function to set up.
- 2022-05-05 02:27:06下载
- 积分:1
-
刘Mangxing象棋游戏,之前或之后的好处?玩游戏的投入…
刘曼星下棋,前后得利?输入玩几个游戏,输入游戏有几个标志,最后程序输出1(先有利)或0(后有利)
- 2023-07-19 09:35:03下载
- 积分:1
-
此程序能够计算一个数据集的熵和基于某个属性的熵
此程序能够计算一个数据集的熵和基于某个属性的熵-this procedure to calculate a data set based on the entropy and the entropy of a particular attribute
- 2023-06-07 05:05:03下载
- 积分:1
-
控制系统,请仔细查看
也许对你有用
控制系统,请仔细查看
也许对你有用 -Control System, please carefully review may be useful to you
- 2022-07-28 07:12:22下载
- 积分:1
-
VC++开发的数字水准仪数据采集与处理程序,实现数字水准仪的模拟测量。...
VC++开发的数字水准仪数据采集与处理程序,实现数字水准仪的模拟测量。-VC++ Development of Digital Level data acquisition and processing procedures, the realization of digital levels of the analog measurements.
- 2023-06-20 05:50:05下载
- 积分:1
-
sdram controller code
sdram controller code
- 2022-01-23 11:10:04下载
- 积分:1
-
台球地图实现,可以移植的模块,适合大多数的台球小程序,很方便...
台球地图实现,可以移植的模块,适合大多数的台球小程序,很方便-Billiard map realize, you can transplant the module, suitable for the majority of billiards applet, it is convenient
- 2022-02-03 06:41:00下载
- 积分:1
-
一个完整的对象跟踪方法,使用一个球的例子,它也处理…
A complete methodology for object tracking using a ball example and it also deals in reducing run time by using an optimized colour detection based algorithm
- 2022-02-02 23:08:42下载
- 积分:1
-
王金明verilog书初学者使用大量实例适合…
王金明verilog书中的大量实例
适合初学者使用-Wang Jinming verilog book suitable for beginners to use a large number of examples
- 2022-11-28 22:25:03下载
- 积分:1
-
通过输入阿拉伯 数字 ,自动转换数字为中文汉字大写数字,并按照原数字顺序给予排列!...
通过输入阿拉伯 数字 ,自动转换数字为中文汉字大写数字,并按照原数字顺序给予排列!-through the importation of Arabic numerals, automatic conversion for Chinese characters capital figures and according to the original figures given with the order!
- 2023-07-12 11:45:02下载
- 积分:1