文件名称:2
介绍说明--下载内容均来自于网络,请自行研究使用
封装一个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,* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2.cpp