CDerived::CDerived()
: CBase(...), iCount(0) //this is the initialisation list. You can initialise member variables here too. (e.g. iCount := 0)
{
//construct body
}
↧
Answer by Dynite for What are the rules for calling the superclass constructor?
↧