-
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
-
类同IPOD转轮音量控制的触摸IC,主要针对便携式和家用电器应用。它们具有更低的功耗,增强了在苛刻感测条件下工作的能力,并且能很方便地在转轮中心安置一个机械按钮...
类同IPOD转轮音量控制的触摸IC,主要针对便携式和家用电器应用。它们具有更低的功耗,增强了在苛刻感测条件下工作的能力,并且能很方便地在转轮中心安置一个机械按钮(QT511),使转轮无须反应无意的触摸。
-IPOD similar touch-wheel volume control IC, the main applications for portable and household appliances. They have lower power consumption, enhanced sensing in harsh conditions, the ability to work and can be easily in a mechanical wheel center button placement (QT511), so that there is no need reaction wheels do not intend to touch.
- 2022-11-24 10:45:03下载
- 积分:1
-
贪吃蛇2005 + 源程序
贪吃蛇 一个经典的小游戏,本人精心制作,相信会比其它所谓的贪吃蛇效果好很多。希望大家能提出更多宝贵的意见。游戏规则:
利...
贪吃蛇2005 + 源程序
贪吃蛇 一个经典的小游戏,本人精心制作,相信会比其它所谓的贪吃蛇效果好很多。希望大家能提出更多宝贵的意见。游戏规则:
利用方向键控制蛇头运动,当蛇头碰到食物即吃到食物,获得积分;
在此过程中不允许蛇头出界或碰到身体,否则游戏结束。基本操作:
程序运行后输入数字0-9,选择级别;任何时候按Esc键即退出游戏;用键盘方向键控制蛇头运动方向;按任意键暂停,方向键和组合键除外;暂停后,按方向键继续游戏;出错后会出现是否继续游戏的提示,Y继续,N结束。
-2005 Snake Snake source of a small classic game, I carefully made, I believe other than the so-called Snake many good results. Hope we can put forward more valuable suggestions. The rules of the game : direction control keys snakeheads campaign, when the food is encountered snakeheads eat food, access points; In this process does not allow out-of-bounds snakeheads or physical encounter, the end of the game. Basic operation : running after importation figures 0-9, choose level; By any time that the Esc keys out of the game; The keyboard keys to control the direction snakeheads movement direction; Keys suspended by the arbitrary direction keys and key combinations exception; Following the suspension, according to the direction keys to th
- 2022-12-13 12:15:03下载
- 积分:1
-
字库生成工具源代码
字库生成工具源代码-library source code generation tool
- 2022-03-24 12:23:35下载
- 积分:1
-
这本是sql编程必不可少的书籍,一般问题都能解决
这本是sql编程必不可少的书籍,一般问题都能解决-this sql programming is essential to the books, the general problems can be solved
- 2023-05-05 22:45:03下载
- 积分:1
-
用matlab编写的雷达系统信号仿真程序,包含雷达个部分的仿真程序...
用matlab编写的雷达系统信号仿真程序,包含雷达个部分的仿真程序
- 2023-07-29 03:05:03下载
- 积分:1
-
求电磁场边值,程序简洁,方法得当,运算速度快,是这一程序的最突出的特点...
求电磁场边值,程序简洁,方法得当,运算速度快,是这一程序的最突出的特点-For electromagnetic field boundary value, the program is simple and methodologically sound, computing speed, this procedure is the most prominent feature of
- 2022-08-07 23:16:46下载
- 积分:1
-
“贪食蛇”游戏小程序设计与制作。实现贪食蛇游戏的运行,记分,胜负判定,设置等。...
“贪食蛇”游戏小程序设计与制作。实现贪食蛇游戏的运行,记分,胜负判定,设置等。
- 2023-07-07 06:25:02下载
- 积分:1
-
类似“雷电”的小游戏。可以自己设置控制键,也可以使用默认键。...
类似“雷电”的小游戏。可以自己设置控制键,也可以使用默认键。-like "lightning" small game. It set up its own control keys, you can also use the default key.
- 2023-01-21 15:40:04下载
- 积分:1
-
在使用VFP提供的GETDIR()函数获取目录或文件夹的时候,所打开的选择窗口有一个狐狸图标,应用到自己的程序中非常的不美观,该控件可以解决次问题。...
在使用VFP提供的GETDIR()函数获取目录或文件夹的时候,所打开的选择窗口有一个狐狸图标,应用到自己的程序中非常的不美观,该控件可以解决次问题。-the use of VFP GETDIR () function to obtain a catalog or folders, which opened a window to choose a fox icon of the application process very ugly, the time control problems can be solved.
- 2023-02-27 03:20:03下载
- 积分:1