文件名称:lesson
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:35.57kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定义描述学生和职工的类,并实现测试和简单的输入/输出不论是学生还是职工,均有如下描述信息:姓名、性别、出生年月,这可以定义一
个基类。然后由基类定义一个学生的派生类,增加描述信息:所在班级、学号、专业、英语成绩和数学成绩。再由基类定义一个职工的派生类,增加描述信息:部门、职务、工资。这里对描述学生和职工基本情况作了简化,目的是缩短程序的长度-Definition describes a class of students and staff, and implement testing and simple input/output, whether students or workers, are the following descr iptions: name, gender, date of birth, which can define a base class. Then define a base class derived class of students, increasing descr iptions: where the classes, numbers, professional, English grades and math. Then define a base class, derived class of workers, increasing descr iption: department, position, salary. Here describe the basic situation of students and employees were simplified to shorten the length of the program
个基类。然后由基类定义一个学生的派生类,增加描述信息:所在班级、学号、专业、英语成绩和数学成绩。再由基类定义一个职工的派生类,增加描述信息:部门、职务、工资。这里对描述学生和职工基本情况作了简化,目的是缩短程序的长度-Definition describes a class of students and staff, and implement testing and simple input/output, whether students or workers, are the following descr iptions: name, gender, date of birth, which can define a base class. Then define a base class derived class of students, increasing descr iptions: where the classes, numbers, professional, English grades and math. Then define a base class, derived class of workers, increasing descr iption: department, position, salary. Here describe the basic situation of students and employees were simplified to shorten the length of the program
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lesson/lesson.ncb
lesson/lesson.plg
lesson/lesson.dsp
lesson/lesson.dsw
lesson/lesson.cpp
lesson/lesson.opt
lesson
lesson/lesson.plg
lesson/lesson.dsp
lesson/lesson.dsw
lesson/lesson.cpp
lesson/lesson.opt
lesson
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.