Polymorphism and reference class member - wrong virtual method called

后端 未结 0 747
难免孤独
难免孤独 2021-01-21 03:34

I was trying to understand how to apply polymorphism in C++ by creating a base class Document from which the two classes Book and Newspaper

相关标签:
回答
  • 消灭零回复
提交回复
热议问题