I have this problem on my machine in which after I complile and run my .cpp file, the command prompt will only show up for a split second and then disappear. How can I make it stay longer?
For example, when I run a simple program like Hello World, the Hello World program should stay on the screen, only exiting when I press a key. However, this isn't the case as it quickly disappears too fast for me to tell if what I have programmed works correctly.
For compilers, at the moment I'm using VS.Net and Bloodshed Dev C++
Question
phantomAI
I have this problem on my machine in which after I complile and run my .cpp file, the command prompt will only show up for a split second and then disappear. How can I make it stay longer?
For example, when I run a simple program like Hello World, the Hello World program should stay on the screen, only exiting when I press a key. However, this isn't the case as it quickly disappears too fast for me to tell if what I have programmed works correctly.
For compilers, at the moment I'm using VS.Net and Bloodshed Dev C++
Any suggestions would be appreciated.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts