How to put unknown child classes of a base class in one data structure and call an overwritten base class function in C++

前端 未结 0 1554
攒了一身酷
攒了一身酷 2020-12-31 08:05

I have a chain class.

This class should execute processSample(a, b) for any child class (of baseClass) I add.

I want to be able to code more child classes (wit

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