title: No output in console from std::cout in Visual Studio 2019 x64 Native Tools Command Prompt
body: <p>I have some C++ executables which contain various std::cout outputs.
  In Visual Studio 2019 x64 Native Tools Command Prompt, when I run these executables, there is no output displayed on the console.
  If I redirect the output to a file, the output is indeed printed to the file.</p>
  <p>The following program for example does not output anything to the console:</p>
  <pre><code>#include &lt;iostream&gt;
  
  int main (int argc, char** argv) {
      std::cout &lt;&lt; &quot;Hello world&quot; &lt;&lt; std::endl;
  }
  </code></pre>
  <p>Is there some setting or variable I need to set in order to see the output in the console itself ?</p>