求解一道C++题,要完整程序,谢谢啦~我是菜鸟
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/11 23:01:38
求解一道C++题,要完整程序,谢谢啦~我是菜鸟
题目是全英文的,无遗漏
Define a base class named person which includes name,sex,birthday data members.Create derived class named student and teacher.The student class adds class,no,total data members.The teacher class adds department,profession,wage data members.Input the data from the main function and display the information of the student and the teacher.
题目是全英文的,无遗漏
Define a base class named person which includes name,sex,birthday data members.Create derived class named student and teacher.The student class adds class,no,total data members.The teacher class adds department,profession,wage data members.Input the data from the main function and display the information of the student and the teacher.
你要参加ACM啊?全英文!真是菜鸟的话还是看看课本吧.大体上一看这就是个定义一个teacher类和和person类的问题,貌似不麻烦.自己看看吧