#include<iostream>
using namespace std;
#include<string>
class student {
public:
void shangke();
protected:
string name;
int bj;
int id;
};
class teacher {
public:
void jiaoke();
protected:
int ID;
int gz;
};
class zhujiao :public student, public teacher {
};
int main()
{
system("pause");
return 0;
}
标签:int,void,class,student,5.18,public From: https://www.cnblogs.com/zjm921/p/17413257.html