Console close | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuestas
+ 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
Дмитрий