Help with Bloodshed Dev c++!

Status
Not open for further replies.

shady_inc

Pee into the Wind...
i recently installed Bloodshed Dev c++ from an old digit CD and wrote a program.compiled it without any errors.but whenever i run the program a DOS window blinks for a millisecond and disappears.That's it nothing else happens.what's the catch here guys??
 

Sykora

I see right through you.
You need to hold the window at the end, before exit. Use a cin.get() at the end of main (getchar if you're doing C). The other alternative (cleaner, in my opinion) is to run the program from an already existing DOS Shell.
 
Status
Not open for further replies.
Top Bottom