文件名称:2
-
所属分类:
- 标签属性:
- 上传时间:2013-04-25
-
文件大小:668byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设计一个用于人事管理的People(人员)类。
考虑到通用性,这里只抽象出所有类型人员都具有的属性:
number(编号)、sex(性别)、birthday(出生日期)、id(身份证号)等。
其中“出生日期”声明为一个“日期”类内嵌子对象。用成员函数实现对人员信息的录入和显示。
要求至少包括:构造函数和析构函数、拷贝构造函数-People (staff) designed for personnel management class. Taking into account the versatility, abstract all types have attributes: number (ID), sex (gender), birthday (date of birth), id (ID number). " Date of Birth" is declared as a " date" class embedded sub-objects. Member function entry and display of personnel information. Requirements include at least: constructor and destructor, copy constructor
考虑到通用性,这里只抽象出所有类型人员都具有的属性:
number(编号)、sex(性别)、birthday(出生日期)、id(身份证号)等。
其中“出生日期”声明为一个“日期”类内嵌子对象。用成员函数实现对人员信息的录入和显示。
要求至少包括:构造函数和析构函数、拷贝构造函数-People (staff) designed for personnel management class. Taking into account the versatility, abstract all types have attributes: number (ID), sex (gender), birthday (date of birth), id (ID number). " Date of Birth" is declared as a " date" class embedded sub-objects. Member function entry and display of personnel information. Requirements include at least: constructor and destructor, copy constructor
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.