0

Console close

Wrote, all that was in this lesson. Everything was done through the console, compiled, opened the exe file, it started, and immediately closed. How to make sure that it does not close by itself?

8th Jan 2019, 2:05 PM
Дмитрий
2 Réponses
+ 1
Write system("pause"); At the end of your program.
8th Jan 2019, 2:22 PM
Théophile
Théophile - avatar
0
What line is the error?
8th Jan 2019, 2:38 PM
Дмитрий