For example, at the end of a program it says "Press any key to continue", but you can't really see any output because it closes too fast. Is it possible to have the program wait for a keypress before proceeding?