Class: Cannot Instantiate abstract class yet all pure virtual methods are implemented?

后端 未结 0 1832
陌清茗
陌清茗 2020-11-29 03:47

I am trying to use a std::vector to store different subclasses of Card. I am receiving the error:

\'Card\': Cannot Instantiate abstract class

I have this inter

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