文件名称:gzhs
介绍说明--下载内容均来自于网络,请自行研究使用
创建一个Employee类,该类中用字符数组存放Employee的信息,如姓名、地址、市、省、及邮政编码;每个成员函数的定义放在类定义之外;成员函数包括改变姓名数据成员等;构造函数完成成员数据的初始化;用Display()函数将完整的对象数据打印出来;其中数据成员是保护的,成员函数是公共的-Create an Employee class, the class with character array to store Employee information, such as name, address, city, province, and zip code each member function definition placed outside the class definition member functions including change of name data member complete member data initialization constructor Display () function will complete object print out the data data members to protect the member function is public
(系统自动生成,下载前可以参看下载内容)
下载文件列表
gzhs.doc