题目是这样://在主函数中声明一个基类指针,通过该指针调用show(),显示WorkStu最远派生类的对象信息。(Worker和Student继承Person,WorkStu继承Worker和Stuent)
请问,我分明有声明fun为什么“no matching function”啊!谢谢!
题目是这样://在主函数中声明一个基类指针,通过该指针调用show(),显示WorkStu最远派生类的对象信息。(Worker和Student继承Person,WorkStu继承Worker和Stuent)
请问,我分明有声明fun为什么“no matching function”啊!谢谢!