+ 1

How to make the window pause [Not a question]

By this I mean to make the window to wait for the enter/return key. Simply on the line before "return 0;" type "system("pause");"

24th Feb 2017, 12:13 AM
PortillTech
PortillTech - avatar
1 Odpowiedź
+ 2
you could use cin.get(); and this would wait for a user input.
24th Feb 2017, 3:52 AM
Michael Szczepanski
Michael Szczepanski - avatar