文件名称:2
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:681byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
封装一个CSTUDENT类,用来描述学生的属性和行为,具体要求如下:
1、学生有姓名、籍贯、学号、年龄、成绩五个成员数据,编写构造函数,拷贝构造函数,
同时编写DISPLAY()成员函数显示学生的信息。
2、编写主函数,定义两个Cstudent类对象(初始值任意),分别调用成员函数DISPLAY()
显示两个对象的学生信息,*/-Packaging a CSTUDENT class, used to describe the properties and behavior of students, specific requirements are as follows: 1, students have the name, place of birth, student number, age, results of five members of the data, write constructor, copy constructor, as well as prepare DISPLAY () member function display student information. 2, write the main function, the definition of two Cstudent class object (the initial value is arbitrary), respectively, call the member function DISPLAY () show two objects student information,* /
1、学生有姓名、籍贯、学号、年龄、成绩五个成员数据,编写构造函数,拷贝构造函数,
同时编写DISPLAY()成员函数显示学生的信息。
2、编写主函数,定义两个Cstudent类对象(初始值任意),分别调用成员函数DISPLAY()
显示两个对象的学生信息,*/-Packaging a CSTUDENT class, used to describe the properties and behavior of students, specific requirements are as follows: 1, students have the name, place of birth, student number, age, results of five members of the data, write constructor, copy constructor, as well as prepare DISPLAY () member function display student information. 2, write the main function, the definition of two Cstudent class object (the initial value is arbitrary), respectively, call the member function DISPLAY () show two objects student information,* /
相关搜索: Other systems
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.