-
person类
数据成员:
姓名name、性别sex、年龄age
成员函数
(1)构造函数
(2...
person类
数据成员:
姓名name、性别sex、年龄age
成员函数
(1)构造函数
(2)输出姓名、性别、年龄
派生类student
数据成员:
学号、专业(代号) 、考试成绩score[5]、平均成绩
成员函数
(1)构造函数
(2)输出学号、姓名、性别、年龄、专业
(3)计算平均成绩
(4)输出学号、姓名、单科成绩和平均成绩
派生类teacher
数据成员:
职工号、职称、讲授课程(课程代号)
成员函数
(1)构造函数
(2)输出职工号、姓名、性别、年龄、职称
(3)设置讲授课程
(4)输出姓名、讲授课程
派生类graduate_student
成员函数
(1)构造函数
(2)输出姓名、性别、年龄、职称、研究生专业
-person category
- 2023-05-21 13:45:03下载
- 积分:1
-
linux C编程手册,相信一般的程序员都需要它
linux C编程手册,相信一般的程序员都需要它-linux C programming manual, I believe that programmers generally need it
- 2022-01-21 18:52:47下载
- 积分:1
-
PHP学习资料,不过全是英文的,个人觉得内容还不错,只要下个翻译软件就行了!...
PHP学习资料,不过全是英文的,个人觉得内容还不错,只要下个翻译软件就行了!-PHP learning materials, but all in English, and personally feel that the content is also good, as long as the next translation software on the list!
- 2022-02-09 18:03:01下载
- 积分:1
-
QC software, a very user
QC软件,非常好用的一个软件,
可自动给QC洗澡喂食-QC software, a very user-friendly software that can automatically to the QC bath feeding
- 2022-05-25 00:26:11下载
- 积分:1
-
高速PCB设计常见问题,有兴趣的朋友这下子可算是有福气了。
高速PCB设计常见问题,有兴趣的朋友这下子可算是有福气了。-High-speed PCB design frequently asked questions, are interested in can be regarded as Friend Now the lucky.
- 2022-02-14 22:37:15下载
- 积分:1
-
该文件是教你如何来旋转一个正方体的,并可以用不同的颜色
该文件是教你如何来旋转一个正方体的,并可以用不同的颜色-the document is to teach you how a rotating cube, and can use a different color
- 2022-01-23 10:09:29下载
- 积分:1
-
expression of the realization of a binary tree. An arbitrary input before the or...
表达式二叉树的实现。输入任意一个前序中序或后序表达式,可生成对应的表达式二叉树并树状打印,之后用户可以选择以前序中序或后序将表达式再次输出。-expression of the realization of a binary tree. An arbitrary input before the order or sequence after sequence expressions, which will generate the corresponding binary tree and the tree expression Print, after users can choose before the order or sequence after sequence of expression of a recurrence.
- 2022-09-02 21:05:03下载
- 积分:1
-
在DOS程序代码
turboc code in dos
a graphics program to crease some illusory object on screen
- 2022-02-26 11:26:38下载
- 积分:1
-
一款背单词的小程序,可以自己在自定义词库中加单词,运行环境JCreator...
一款背单词的小程序,可以自己在自定义词库中加单词,运行环境JCreator-back one word of small programs can be defined in adding the word thesaurus, the environment JCreator
- 2022-02-26 20:30:09下载
- 积分:1
-
Sudoku game implemented in C, command line only
Sudoku game implemented in C, command line only
- 2022-06-02 11:19:23下载
- 积分:1