+ 3
Is there any way to exit with an event in c++ ?
I am using Visual C++ Compiler that works from command line. It generates a .exe and a .obj file. When I run the exe file manually from windows explorer, it closes immediately after the last cout statement. So is there any way that at the end it will ask to user to press enter key to exit.
6 Answers
+ 3
can able to do in c++??
+ 2
@Ranjeet please don't ask for challenge, just start without asking here and there.
+ 1
try getch()