You are viewing a single comment's thread. Return to all comments →
If this is your first time with cpp classes I recommend you these 2 videos:
Constructor video
Inheritance video
For constructors with inheritance you can do something like this:
child (dataType inheritedParam1, dataType Param2) : father (inheritedParam1) { m_variable = Param2; }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 12: Inheritance
You are viewing a single comment's thread. Return to all comments →
If this is your first time with cpp classes I recommend you these 2 videos:
Constructor video
Inheritance video
For constructors with inheritance you can do something like this: