About Base class call subclass functionAlthough this is OK, the inheritance relationship is wrong. B must inherit from A. @keskiverto
About Base class call subclass functionyes @lastchance
About Base class call subclass function@Peter For example, this instructions is mandatory,Any "machine" should call show() when it is creat...
About Base class call subclass functionNo, AbstractMachine is not a pure virtual class. Show() needs to provide a default implementation, a...
About Base class call subclass functionNo,the final code in main() [code] int main(){ B* b = new B(); return 0; } [/code] I want this ...
This user does not accept Private Messages