文件名称:5_1
介绍说明--下载内容来自于网络,使用问题请自行百度
一个名为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/5_1.dsp
5_1/5_1.dsw
5_1/5_1.ncb
5_1/5_1.opt
5_1/5_1.plg
5_1/Debug/5_1.exe
5_1/Debug/5_1.ilk
5_1/Debug/5_1.obj
5_1/Debug/5_1.pch
5_1/Debug/5_1.pdb
5_1/Debug/vc60.idb
5_1/Debug/vc60.pdb
5_1/Debug
5_1
5_1/5_1.dsp
5_1/5_1.dsw
5_1/5_1.ncb
5_1/5_1.opt
5_1/5_1.plg
5_1/Debug/5_1.exe
5_1/Debug/5_1.ilk
5_1/Debug/5_1.obj
5_1/Debug/5_1.pch
5_1/Debug/5_1.pdb
5_1/Debug/vc60.idb
5_1/Debug/vc60.pdb
5_1/Debug
5_1
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.