-
shuzituxiangchuli
数字图像处理。MATLAB写的程序。免费下载。。。。。。。。。。。。。(Digital image processing. Programs written in MATLAB. Free Download. . . . . . . . . . . . .)
- 2010-06-26 21:51:20下载
- 积分:1
-
6_1
1. 定义一个抽象学生类CStudent,它具有公有成员函数Average(),该函数用于计算学生的平均分,函数为虚函数;定义一个文科学生类CStudentLiberalArts,它是类CStudent的派生类,并以公有方式派生,它具有的成员有:
1) 保存英语、政治、数学、地理和历史、美术成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
定义一个理科学生类CStudentScience,它是类CStudent的派生类,并以公有方式派生,它具有的成员为:
1) 保存英语、物理、数学、化学和计算机、程序设计成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
编写主函数,并测试以下内容:
1) 定义一个CStudent的指针数组pStu,数组长度为4;
2) 动态创建2个文科学生的对象,地址存于pStu数组的0-1个元素内;
3) 动态创建2个理科学生的对象,地址存于pStu数组的2-3个元素内;
4) 利用while循环调用数组里每个元素的计算平均成绩操作;
释放动态分配的空间,确保必要的析构函数能被调用。
(1 define an abstract class student CStudent, it has a public member function Average (), this function is used to calculate the student s average points function as virtual function definition of a liberal arts student class CStudentLiberalArts, it is the class CStudent derived class, and public be derived, which has members are:
1) Save English, shaping member variables politics, mathematics, geography and history, art achievements
2) Set the above variables public member function
3) public member function of the output of the variable
4) public member function Average () is used to calculate the average student s points
The definition of a science student class CStudentScience, it is the class CStudent derived class, and public manner derived, which has members as follows:
1) Save English, physics, mathematics, chemistry and computer programming achievement shaping member variables
2) Set the above variables public member function
3) public member function of t)
- 2014-10-20 15:29:16下载
- 积分:1
-
socketip
说明: 利用设置网卡为混沌模式,采用原始套接字的方式截获发向本机的ip包,并分析包的类型,源ip地址,目的ip地址,传输层协议等(card installed for the use of Chaos mode, using original socket intercepted a way to the machine ip packet, analysis of packet types, source ip address, purpose ip address, such as transport protocol)
- 2006-05-15 13:08:10下载
- 积分:1
-
matlabNeuralNetworkApcationDesign
说明: matlab神经网络应用设计》关于神经网络方面很重要的学习书籍(matlab神经网络应用设计》)
- 2010-03-17 00:00:59下载
- 积分:1
-
TRI
教你如何绘制三角形,带源代码!!!教你如何绘制三角形,带源代码!!!!(Teach you how to draw Triangle)
- 2010-01-05 16:44:28下载
- 积分:1
-
LDAANDPCA
LDA和PCA的一个程序,主要是LDA和PCA,并不是一个完整的工程,仅供大家参考。(LDA and PCA program, mainly LDA and PCA, is not a complete project, only for reference.)
- 2015-08-07 10:19:49下载
- 积分:1
-
lvrt5
风力发电机的matlab仿真程序,有低压穿越功能的仿真模型(The wind generator of matlab simulation program, have low voltage across the function of the simulation model
)
- 2012-05-17 18:01:00下载
- 积分:1
-
0605mat_rw_matfile
matlab生成的mat文件导入到vc++里面,方便matlab和vc联合编程,程序为最基础底层编程,已经过测试(matlab generated mat file into vc++ inside, easy matlab and vc joint programming, the program is the most basic underlying programming, has been tested)
- 2021-03-04 16:09:32下载
- 积分:1
-
me
说明: 修改视图图标及标题,能够让程序员使用自己设定的标题及图标(Edit View icon and title, allowing programmers to use their own title and icon set)
- 2010-04-22 01:42:06下载
- 积分:1
-
GM(1_1
GM(1,1)模型的matlab编码,实用型(GM (1,1) model matlab coding, practical)
- 2013-03-31 13:31:39下载
- 积分:1