-
fspnt
说明: FLAMES 平台下的空域模型构建,该方法可扩展为裁剪系统(FLAMES platform airspace modeling, this method can be extended to cutting system)
- 2011-03-23 19:04:15下载
- 积分: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
-
Matlab与VC CBuilder混合编程精选
说明: 本套资料,包含了各种Matlab和C++混合编程的例子和理论.是研究Matlab 和VC CBuilder的最权威和经典的例子.在网上搜集的时候发了一个下午的时间。结果发现内容太少了.不得不到我们学校的图书馆去找了。找遍了整个中国期刊全文数据库(CJFD),才找到了这几篇对与编程人员来说的有帮助和参考的文章了。发了我好几块钱了,希望对那些Matlab与Vc和Cbuilder混合编程的人员有很大的帮助了.(the sets of data, including a variety of mixed Matlab and C programming examples and theory. Research VC CBuilder Matlab and the most authoritative and classic examples. The online collection of hair at a time. The results showed very little content. Our school had to find a library. Grateful the entire CJFD (CJFD), they will find this program with a few pairs of officers help and reference of the article. I made a few good money in the hope that those with vitamin C and Matlab Cbuilder mixed programming staff have great help.)
- 2005-12-01 12:38:38下载
- 积分:1
-
fuzzydll
模糊pid有效的对控制对象进行了控制,减少超调和响应时间(fuzzy PID control)
- 2012-06-18 14:30:31下载
- 积分:1
-
test0
这是一个很好的控制台应用程序,可以方便的在其中添加模块。(This is a good console application, you can easily add modules where.)
- 2014-09-10 09:44:15下载
- 积分:1
-
CLI_1
cli basic the function for all the switch and routers
- 2014-12-02 23:26:40下载
- 积分:1
-
chazhinihe
matlab的经典算法--用于各种插值与拟合(matlab classical algorithm- interpolation and fitting)
- 2010-01-29 10:24:45下载
- 积分:1
-
0303
vc++6.0与matlab的混合编程的一个应用实例。(vc++ 6.0 with a mixture of matlab programming an application example.)
- 2008-03-07 12:29:30下载
- 积分:1
-
pcm
该段程序完成了由输入信号抽样值到pcm的编码过程.(The section of program completed by the input signal value to the pcm coding process.)
- 2010-10-30 15:51:37下载
- 积分:1
-
DFIG20210102
说明: 双馈风机的模型,在matlab2016搭建,包含内外环控制(model of DFIG in matlab2016 including outer and inner controll loop)
- 2021-01-30 10:42:13下载
- 积分:1