文件名称:test13
介绍说明--下载内容均来自于网络,请自行研究使用
(1) 编写程序,对实验12增加教师类(包括教师编号、教师姓名、年龄);
(2) 编写程序,实现教师类的年龄增加(学生类也有年龄增加,且性质相同,所以应该把这部分抽象到一个父类中,如:人类);
(3) 编写程序,实现每实例化一个人(无论是老师类对象,还是学生类对象)都打印有多少人;
-(1) write a program to test 12 increase class teachers (including teachers no., name, age)
(2) write a program, the realization of teachers class of increasing age (student class also with increasing age, and same properties, so you should put this part of the abstract in a parent class, such as humans)
(3) write a program, the realization of each instantiation of a person class object (whether the teacher class object, or students) how many people are there in all print
(2) 编写程序,实现教师类的年龄增加(学生类也有年龄增加,且性质相同,所以应该把这部分抽象到一个父类中,如:人类);
(3) 编写程序,实现每实例化一个人(无论是老师类对象,还是学生类对象)都打印有多少人;
-(1) write a program to test 12 increase class teachers (including teachers no., name, age)
(2) write a program, the realization of teachers class of increasing age (student class also with increasing age, and same properties, so you should put this part of the abstract in a parent class, such as humans)
(3) write a program, the realization of each instantiation of a person class object (whether the teacher class object, or students) how many people are there in all print
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test13.cpp