文件名称:5_1
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [C/C++] [Windows] [Visual C] [源码]
- 上传时间:
- 2014-04-15
- 文件大小:
- 253kb
- 下载次数:
- 0次
- 提 供 者:
- 陈*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一个名为CPerson的类有以下4个private属性:姓名、性别、年龄和身高。请用C++语言定义这个类,并在保护派生类CStudent中增加 3个public 属性:学号、数学成绩、英语成绩,并为上述属性分别定义设置和显示的相应的方法,要求能分别在屏幕上设置和输出这些属性,增加成员函数成绩的录入和求平均,并能完成排序,键盘录入5个学生的信息,完成按照数学成绩的排序。-A class called CPerson following four private properties: name, gender, age and height. Please use the C++ language definition of this class, and in the protection of the derived class CStudent added three public properties: appropriate methodology numbers, math, English scores, and define the settings and display the above properties, respectively, require energy on the screen, respectively settings and output of these properties, increasing member function entry and averaging the results, and to complete the order, keyboard input 5 student information, sorted by completion of math achievement.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
5_1\5_1.cpp
...\5_1.dsp
...\5_1.dsw
...\5_1.ncb
...\5_1.opt
...\5_1.plg
...\Debug\5_1.exe
...\.....\5_1.ilk
...\.....\5_1.obj
...\.....\5_1.pch
...\.....\5_1.pdb
...\.....\vc60.idb
...\.....\vc60.pdb
...\Debug
5_1