-
b
说明: 定义一个类SortArray继承自MyArray,在该类中定义函数sort实现排序功能。
定义一个类ReArray继承自MyArray,在该类中定义函数reverse实现逆转功能。
定义一个类AverArray继承自MyArray,在该类中定义函数Aver实现求解整数的平均值。
定义NewArray类,同时继承了SortArray、ReArray和AverArray,使得NewArray类的对象同时具有排序、逆转和求平均值的功能。在继承的过程中声明为虚基类,体会虚基类在解决二义性问题中的作用。
(Define a class SortArray inherited from MyArray, defined in the class sorting function sort implementation. Define a class ReArray inherited from MyArray, define the function in reverse to achieve such reversal function. Define a class AverArray inherited from MyArray, defined in the class to solve integer function Aver achieve the average. Defined NewArray class, and inherits SortArray, ReArray and AverArray, making the object of both NewArray class sorting, reversing, and the mean value of the function. In the process of succession declared as virtual base classes, virtual base class experience in resolving ambiguities of the role.)
- 2010-06-02 02:13:03下载
- 积分:1
-
CH2_3
規格化參數示範:
所謂規格化參數,就是函式呼叫時的傳遞參數(Normalization parameter model: the so-called normalization parameter is passed when the function call parameters)
- 2010-05-23 22:03:14下载
- 积分:1
-
irradiance
光伏电站中太阳光de 辐照度与光伏输出功率的关系(Relations photovoltaic solar power plant with an output power of irradiance)
- 2021-01-28 09:48:35下载
- 积分:1
-
Ten-kinds-of-algorithm
十种排序及其性能比较,包括冒泡排序,比较排序,直接插入排序,希尔排序,归并排序,堆排序,等。(Ten kinds of algorithm and performance comparison)
- 2016-01-04 13:18:25下载
- 积分:1
-
atlppc
WTL 7.1 and higher PPC classes and functions in atlppc.h
enjoy it!(WTL 7.1 and higher PPC classes and function 's in atlppc.h enjoy it!)
- 2007-05-06 16:17:13下载
- 积分:1
-
Deconvolution
运用此程序可以帮您完成信号反褶积的算法,分析问题(Using this program can help you complete the signal deconvolution algorithms, analyze problems)
- 2011-06-06 23:32:02下载
- 积分:1
-
StkTech
VC++的一个股票分析软件,适用于参考和学习。(VC++)
- 2010-05-19 18:17:54下载
- 积分:1
-
Artificial-potential-field-method
智能车避障路径动态规划和车体控制研究,通过改进传统人工势场法来实现车辆壁障。(Dynamic planning and vehicle body control of intelligent vehicle obstacle avoidance,by improving the traditional artificial potential field method to realize the vehicle wall barrier.)
- 2021-03-31 11:19:08下载
- 积分:1
-
talk_WSAAsyncSelect_code
用了Windows下的WSAAsyncselect模型编写的服务端.(With the model under Windows WSAAsyncselect written server.)
- 2011-09-29 17:21:12下载
- 积分:1
-
Stdinf
学生信息管理系统 C语言小程序 当年课设 拿来交流(Student Information Management System)
- 2013-11-04 17:17:48下载
- 积分:1