文件名称:cPP2
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-05-08
- 文件大小:
- 4.74mb
- 下载次数:
- 0次
- 提 供 者:
- 大*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
实现对Score类的功能扩展。在Score类已有功能的基础上实现Student类。 Student类除了能够继续管理学生的成绩外,还具有管理学生基本信息的功能,这些基本信息包括姓名、性别、年龄、政治面貌、家庭住址以及系别。其中学生的成绩为可选择性输入的信息。
要求:
1.为了实现学生成绩的可选择性输入功能,可适当的修改Score类的成员函数。
2.给出该类的各个成员函数的实现。
3.在主函数中通过输入某班n个学生各项基本信息(除成绩外)实例化出n个Student对象用以表示n个学生(n由用户输入)。然后根据用户选择是否输入成绩的选择,再次录入学生的各项成绩并计算平均成绩,最后依据平均成绩按照从高到低的顺序输出n个学生的各项基本信息和平均成绩。
-Score class function expansion. Score existing functionality based on the Student class. Student class in addition to be able to continue to manage student achievement, but also has the function of managing the students basic information, basic information, including name, gender, age, political affiliation, home address, and Department. Student achievement optional input.
Requirements:
1 optional input function in order to achieve student achievement, appropriate modifications Score class member functions.
2 each given the class member functions.
(3) in the main function by entering the basic information of a class of n students (in addition to results) instantiate n Student object to indicate the n students (n entered by the user). Then select the user to select whether or not to enter grades, re-entry of the achievements of students and calculation of the grade point average, output in descending order based on the average grade in accordance with of n students the basic informa
要求:
1.为了实现学生成绩的可选择性输入功能,可适当的修改Score类的成员函数。
2.给出该类的各个成员函数的实现。
3.在主函数中通过输入某班n个学生各项基本信息(除成绩外)实例化出n个Student对象用以表示n个学生(n由用户输入)。然后根据用户选择是否输入成绩的选择,再次录入学生的各项成绩并计算平均成绩,最后依据平均成绩按照从高到低的顺序输出n个学生的各项基本信息和平均成绩。
-Score class function expansion. Score existing functionality based on the Student class. Student class in addition to be able to continue to manage student achievement, but also has the function of managing the students basic information, basic information, including name, gender, age, political affiliation, home address, and Department. Student achievement optional input.
Requirements:
1 optional input function in order to achieve student achievement, appropriate modifications Score class member functions.
2 each given the class member functions.
(3) in the main function by entering the basic information of a class of n students (in addition to results) instantiate n Student object to indicate the n students (n entered by the user). Then select the user to select whether or not to enter grades, re-entry of the achievements of students and calculation of the grade point average, output in descending order based on the average grade in accordance with of n students the basic informa
(系统自动生成,下载前可以参看下载内容)
下载文件列表
c++实验2
........\5555
........\....\555
........\....\...\33232.cpp
........\....\...\33232.dsp
........\....\...\33232.dsw
........\....\...\33232.ncb
........\....\...\33232.opt
........\....\...\33232.plg
........\....\...\555.dsp
........\....\...\555.dsw
........\....\...\555.ncb
........\....\...\555.opt
........\....\...\555.plg
........\....\...\Debug
........\....\...\.....\33232.exe
........\....\...\.....\33232.ilk
........\....\...\.....\33232.pch
........\....\...\.....\33232.pdb
........\....\...\.....\555.pch
........\....\...\.....\vc60.idb
........\....\...\.....\vc60.pdb
........\....\...\Text1.ncb
........\....\5555
........\....\....\555
........\....\....\...\33232.cpp
........\....\....\...\33232.dsp
........\....\....\...\33232.dsw
........\....\....\...\33232.ncb
........\....\....\...\33232.opt
........\....\....\...\33232.plg
........\....\....\...\555.dsp
........\....\....\...\555.dsw
........\....\....\...\555.ncb
........\....\....\...\555.opt
........\....\....\...\555.plg
........\....\....\...\Debug
........\....\....\...\.....\33232.exe
........\....\....\...\.....\33232.ilk
........\....\....\...\.....\33232.pch
........\....\....\...\.....\33232.pdb
........\....\....\...\.....\555.pch
........\....\....\...\.....\vc60.idb
........\....\....\...\.....\vc60.pdb
........\....\....\...\Text1.ncb
........\....\....\Debug
........\....\....\.....\vc60.idb
........\....\....\.....\vc60.pdb
........\....\....\.....\zhangshaojun.exe
........\....\....\.....\zhangshaojun.ilk
........\....\....\.....\zhangshaojun.obj
........\....\....\.....\zhangshaojun.pch
........\....\....\.....\zhangshaojun.pdb
........\....\....\zhangshaojun.cpp
........\....\....\zhangshaojun.dsp
........\....\....\zhangshaojun.dsw
........\....\....\zhangshaojun.ncb
........\....\....\zhangshaojun.opt
........\....\....\zhangshaojun.plg
........\....\CHEN.CPP.txt
........\....\Debug
........\....\.....\vc60.idb
........\....\.....\vc60.pdb
........\....\.....\zhangshaojun.exe
........\....\.....\zhangshaojun.ilk
........\....\.....\zhangshaojun.obj
........\....\.....\zhangshaojun.pch
........\....\.....\zhangshaojun.pdb
........\....\demo.cpp.bak
........\....\demo1.cpp
........\....\demo3.cpp
........\....\score.cpp
........\....\score.h
........\....\zhangshaojun.cpp
........\....\zhangshaojun.dsp
........\....\zhangshaojun.dsw
........\....\zhangshaojun.ncb
........\....\zhangshaojun.opt
........\....\zhangshaojun.plg
........\C++1
........\....\555
........\....\...\555.dsp
........\....\...\555.dsw
........\....\demo.cpp.bak
........\....\demo1.cpp
........\....\demo3.cpp
........\....\score.cpp
........\....\score.h
........\C++实验2报告.doc
........\demo.cpp
........\~$继承机制.doc
........\实验2.txt
........\继承机制.doc