Add a 'press any key to continue' into your program. Or, in Windows, there is a setting that keeps the window from closing, instead it says 'Finished-[program name]'. Not sure if there is such a setting in Linux (probably depends on which terminal emulator you're using).
|