Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ call method in same class

class Example{
  void A(){
    //do something
  }
  
  void B(){
    this->A();
    // or
    A();
  }
}
 
PREVIOUS NEXT
Tagged: #call #method #class
ADD COMMENT
Topic
Name
9+7 =