I am a beginner in C++ using Dev-C++ ( version 4.9.9.2). The output screen does not appear upon executing code. It just flashes for a very short burst of time and then closes. But this occurs when there is only output, that is...when there is no need for interface , for example, using the cin operator to make a user-interface type program...the one where the user will have to give values of his/her choice etc. and then the output is presented before the user. The problem does not appear in this type of condition. How to rectify this?