title: How to have two functions that call each other C++
body: <p>I have 2 functions like this that does obfuscation on if loop:</p>
  
  <pre><code>void funcA(string str)
  {
      size_t f = str.find("if");
      if(f!=string::npos)
      {
          funcB(str);        //obfuscate if-loop
      }
  }
  
  void funcB(string str)
  {
       //obfuscate if loop
       funcA(body_of_if_loop);     //to check if there is a nested if-loop
  }
  </code></pre>
  
  <p>The problem with this would be that <code>funcA</code> would not be able to see <code>funcB</code> and vice versa if I put <code>funcB</code> before <code>funcA</code>.</p>
  
  <p>Would appreciate any help or advice here.</p>