Easy, FUNNY C++ programming books?(56 posts)
did you put a return statement at the end of your code? from what i can remember from my c++ days, the return statement adds the 'Press any key to continue' at the end of your running program (somebody correct me if i'm wrong, please).
or a workaround that you can do is to accept a user input at the end of your code, this would, sort of, stop your program from running until you input anything.
i don't think it is the return thing since i have tried that but it was still the same
edit: would any one happen to know a code to say push enter to exit and then exit the program in c++
because that would kinda fix the problem and it seems easy enough to do
This topic has been closed to new replies.