title: Preventing console window from closing on Visual Studio C/C++ Console application
body: <p>This is a probably an embarasing question as no doubt the answer is blindingly obvious.</p>
  
  <p>I've used Visual Studio for years, but this is the first time I've done any 'Console Application' development.</p>
  
  <p>When I run my application the console window pops up, the program output appears and then the window closes as the application exits.</p>
  
  <p>Is there a way to either keep it open until I have checked the output, or view the results after the window has closed?</p>