0

the result flashes and disappears

I have made a program and the .exe file is running processing but the result flashes and the screen disappears suddenly..... can't understand what's the problem.

13th Sep 2016, 4:14 PM
Ankit Ojha
Ankit Ojha - avatar
3 Answers
+ 2
sometimes on Windows you need to include system("pause");
13th Sep 2016, 5:18 PM
Harsh Truth
Harsh Truth - avatar
+ 1
Open a console and launch your program from it.
13th Sep 2016, 4:23 PM
Zen
Zen - avatar
0
Try opening cmd.exe, navigating to your program's directory and running it from there, the window should stay open.
13th Sep 2016, 6:22 PM
Simant |Kingpin|
Simant |Kingpin| - avatar