文件名称:jichengyupaisheng
- 所属分类:
- 教育/学校应用
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 245kb
- 下载次数:
- 0次
- 提 供 者:
- yup***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
2.编写一个学生和教师数据输入和显示程序。其中,学生数据有编号、姓名、班级和成绩,教师数据有编号、姓名、职称和部门。要求将编号、姓名输入和显示设计成一个类Person;然后设计类Person的派生类:学生类Student和教师类Teacher;编写一个主函数,通过定义student、teacher的对象,完成相应功能-2. Students and teachers to write a data entry and display program. Among them, the student data with a number, name, class and achievement, teacher data with a number, name, job title and department. Request number, name, input and display designed as a class Person and then design the derived class class Person: class Student and teacher student class Teacher write a main function, by defining the student, teacher of the object, complete the corresponding function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jichengyupaisheng\继承与派生2\Debug\paisheng.exe
.................\...........\.....\paisheng.ilk
.................\...........\.....\paisheng.obj
.................\...........\.....\paisheng.pch
.................\...........\.....\paisheng.pdb
.................\...........\.....\vc60.idb
.................\...........\.....\vc60.pdb
.................\...........\paisheng.cpp
.................\...........\paisheng.dsp
.................\...........\paisheng.dsw
.................\...........\paisheng.ncb
.................\...........\paisheng.opt
.................\...........\paisheng.plg
.................\...........\Debug
.................\继承与派生2
jichengyupaisheng
.................\...........\.....\paisheng.ilk
.................\...........\.....\paisheng.obj
.................\...........\.....\paisheng.pch
.................\...........\.....\paisheng.pdb
.................\...........\.....\vc60.idb
.................\...........\.....\vc60.pdb
.................\...........\paisheng.cpp
.................\...........\paisheng.dsp
.................\...........\paisheng.dsw
.................\...........\paisheng.ncb
.................\...........\paisheng.opt
.................\...........\paisheng.plg
.................\...........\Debug
.................\继承与派生2
jichengyupaisheng