Answers for "calling same function within different class in c++"

C++
1

c++ call method in same class

class Example{
  void A(){
    //do something
  }
  
  void B(){
    this->A();
    // or
    A();
  }
}
Posted by: Guest on May-19-2020

Code answers related to "calling same function within different class in c++"

Browse Popular Code Answers by Language