Home > Uncategorized > Calling base function, and base constructor C++

Calling base function, and base constructor C++

June 17th, 2009

class ParentClass{

ParentClass(){

}

void FunctionA(){

}

}

class ChildClass:ParentClass{

ChildClass():ParentClass(){

}

void FunctionA(){

ParentClass::FunctionA();

}

}

Sam Uncategorized ,

  1. No comments yet.
  1. No trackbacks yet.