title: See std::cout of .exe
body: <p>I have a .exe file that I've compiled on windows. But when I run it from the command line I don't see any of the things my program outputs to std::cout or std::cerr. The program runs and continues to run even after the command line returns to the prompt (it's a GUI program and doesn't quit until I press the quit button). How can I see the output of my program?</p>
  
  <p>I'm using cmake to make a visual studio project which I then compile with msbuild.</p>