摘要:
class parent{public:virtual test(){cout < < "from parent " < <endl;};};class son1:public parent{public:virtual test(){cout < < "from son1 " < <endl;};};class son2:public parent{public:virtual test(){cout < < "from son2 " < <endl;};};v 阅读全文