title: Calling a method from another method in the same class in C++
body: <p>I wrote a method (that works fine) for <code>a()</code> in a class.  I want to write another method in that class that calls the first method so:</p>
  
  <pre><code>void A::a() {
    do_stuff;
  }
  
  void A::b() {
    a();
    do_stuff;
  }
  </code></pre>
  
  <p>I suppose I could just rewrite <code>b()</code> so <code>b(A obj)</code> but I don't want to.  In java can you do something like <code>this.a()</code>.</p>
  
  <p>I want to do <code>obj.b()</code> where <code>obj.a()</code> would be called as a result of <code>obj.b()</code>.</p>