title: Code::Blocks console app won't show output
body: <p>I've got an application in Code::Blocks, and it's the simple Hello, World traditional program. </p>
  
  <pre><code>#include &lt;iostream&gt;
  
  int main() {
      std::cout &lt;&lt; "Hello, World!" &lt;&lt; std::endl;
  }
  </code></pre>
  
  <p>The program builds and executes, but the output isn't shown. I checked the project properties in Code::Blocks and it is definitely set to console application. Any suggestions as to the problem?</p>
  
  <p>Edit: The output only fails in the IDE. When run separately the resulting executable functions exactly as expected.</p>