-
Enigma
说明: 这是二战时期著名的,独领一时风骚的密码机Enigma的源代码,它真实的再现了Enigma的工作原理和真实原貌,希望有兴趣的朋友共同参详(This is the famous World War II, was the sole lead of 1:00 coquettish Enigma cipher machine source code, it is a true reproduction of the working principle of the Enigma and true original, want to have a friend interested in the common parameters are set)
- 2010-03-26 13:15:23下载
- 积分: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
-
2
说明: 蚁群算法原理及其应用PFD,希望对你们有帮助啊(Principle and Application of ant colony algorithm PFD, you would like to help ah)
- 2009-05-31 10:43:01下载
- 积分:1
-
RTW
利用Matlab RTW实现控制系统的仿真,使用VC++6.0开发。(Achieved using Matlab RTW control system simulation, using VC++6.0 development.)
- 2011-11-18 12:47:22下载
- 积分:1
-
matlab-for-beginner
matlab的基本函数及其用法,适用于matlab初学者(the basic functions and their usage of matlab, matlab beginner)
- 2012-06-01 09:07:43下载
- 积分:1
-
MCMixedprogramming
本光盘的程序是《MATLAB7.x与C/C++混合编程》配套的源程序,请对照该书使用(This CD is the procedure " MATLAB7.x with C/C++ mixed programming" complementary source, please use the control book)
- 2013-08-26 21:54:07下载
- 积分:1
-
RSG_RSG_PARALLEL
微电网的小干扰稳定性分析程序,尅实现并联运行的分析(Small signal stability analysis can work in parallel types just download it you can get a lot to learn!)
- 2012-06-18 14:50:18下载
- 积分:1
-
LEAC-txt
wsn经典路由算法,对于初学者很有借鉴意义(Classic WSN routing algorithm for beginners is of great significance)
- 2012-09-26 21:22:47下载
- 积分:1
-
10
说明: matlab高效编程程序第十章,可以运行。(Chapter matlab programming procedure efficient, you can run.)
- 2011-04-10 15:32:10下载
- 积分:1
-
matlab-guide-to-finite-element
国外计算机经典教材,MATLAB有限元分析与应用。该书为中译本,详尽介绍了有限元分析的各种方法。(MATLAB guide to finite elements.)
- 2013-12-24 00:07:01下载
- 积分:1