I'm have a little problem keeping my output to stay up when it calculates the answer. It doesn't ask you to hit a key to exit or nothing. It just shuts off. It works fine when I execute in visual c++ but when I send the program out with it's own exe it doesn't. Can't I create a function that will cut it off in 5 seconds? Or atleast ask the user to hit a key to continue?