title: using getch() to hold command prompt open Visual C++ 2010
body: <p>Im currently learning c++ from a book called 'Ivor Hortons Beginning Visual c++ 2010'.</p>
  
  <p>In all the examples i've attempted so far I've had to use getch() to hold open the command prompt, and sometimes remove the return 0 statement from the end of the main method.</p>
  
  <p>Is this a vagary of windows 7 and will it cause problems further down the line? It's no problem doing this at the moment but since this is not included in the book I was wondering if it might be something I've set up wrong.</p>
  
  <p>Many Thanks :)</p>