When I compile my program (with no errors)and try to then run it, the ms-dos window will flash quickly. How do I get it to stay open with output printed to the screen. When it flashes up, I can see that the ouput is there, I just don't know how to make it stay open. The problem is that the dos window closes too fast. I'm sure this is either a simple config problem or maybe a line of code in my program. Please help.