Inheritance in C++, how to initialize member variables in base class from derived class

后端 未结 0 1998
清歌不尽
清歌不尽 2021-01-19 03:14

i just opened up c++ today for the first time almost, and i tried doing some inheritance.

I have a class called Person and three classes that derive from Person calle

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