Блог пользователя Alex7

Автор Alex7, 9 лет назад, По-английски

How to make Visual Studio 2012 pause, without having to add system("pause")???

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится

»
9 лет назад, # |
Rev. 2   Проголосовать: нравится +1 Проголосовать: не нравится

You could use getchar() or I think you can use CTRL-F5 to run your program without closing the window when execution finishes.

»
9 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

I tend to run it in Debugging Mode (CTRL+F5).

I had a a problem when I first tried to use it because it would not pause, but it was because VS was not properly set up. I followed these instructions to fix that issue.