文件名称:实训六
介绍说明--下载内容来自于网络,使用问题请自行百度
c++第六章实训 首先设计一个人员类person作为基类,其数据成员为姓名和身份证号包括数据成员地址和年龄,成员函数有输入数据和显示数据;生成person的派生类学生student,student包括数据成员电话号码和C++成绩,成员函数有输入数据和显示数据;设计学生成绩类score,它是student类和add类的派生类,继承两个类的所有属性,score类本身有数据成员数学成绩和英语成绩,成员函数有输入数据和显示数据;职员类employee继承person类,类中没有任何成员。编写主程序观察运行结果。(The sixth chapter of c + + training first design a person class person as the base class, whose data members are name and id number including data member address and age, member function has input data and display data; Generate the derived class student student, student, including the data member telephone number and c + + score, the member function has input data and display data; Design student score class score, which is the class of student and add class, inherits all the attributes of two classes, the score class itself has data members mathematical scores and English scores, member functions have input data and display data; The employee employee inherits the person class, with no member in the class. Write the main program to observe the results of the operation.)
相关搜索: 那个方法
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
实训六\Debug\f.obj | 8921 | 2017-11-24 |
实训六\Debug\m.obj | 9562 | 2017-11-24 |
实训六\Debug\vc60.idb | 50176 | 2017-11-24 |
实训六\Debug\vc60.pdb | 61440 | 2017-11-24 |
实训六\Debug\实训六.exe | 180316 | 2017-11-24 |
实训六\Debug\实训六.ilk | 233336 | 2017-11-24 |
实训六\Debug\实训六.pch | 250940 | 2017-11-24 |
实训六\Debug\实训六.pdb | 484352 | 2017-11-24 |
实训六\f.cpp | 773 | 2017-11-24 |
实训六\head.h | 473 | 2017-11-24 |
实训六\m.cpp | 483 | 2017-11-24 |
实训六\实训六.dsp | 4396 | 2017-11-24 |
实训六\实训六.dsw | 537 | 2017-11-24 |
实训六\实训六.ncb | 33792 | 2017-11-24 |
实训六\实训六.opt | 48640 | 2017-11-24 |
实训六\实训六.plg | 908 | 2017-11-24 |
实训六\Debug | ||
实训六 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.