c/c++课的作业合集,都是很简单的文件。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

9 lines
267 B

#include <iostream>
#include "DbTeacher.h"
int main() {
Staff basicInformation("dbt", 'M', "17388293849", Date(2002, 6, 9));
DbTeacher dbTeacher(basicInformation, "unknown title", "unknown job", 11234);
std::cout << dbTeacher.toString();
return 0;
}