• + 0 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;
    }