0
The compiled application exits automatically
I am currently using DEV C++ After compiling when i exits DEV C++ and click on the compiled ext file...it opens and asks for the required commands...after completion it exits by its own... is there any solution for it..if yes then please mention in comment
2 ответов
0
Have you ensured that the program waits for a key press or something before closing the terminal?
Like cin.get(), _getch() or system("pause")?
0
if i run the program inside devc++ it asks to hit a key to exit...but when i runs the same program outside devc++ it opens and exits automatically