title: Returning true or false in c++
body: <p>When I run a method of type bool in c++ with a return statement like so:</p>
  
  <pre><code>bool method() {
      return true;
  }
  </code></pre>
  
  <p>there is no output at the console. To get output, I have to do:</p>
  
  <pre><code>bool method() {
      cout &lt;&lt; "true";
      return true;
  }
  </code></pre>
  
  <p>Is this the right approach?</p>