DIGIT-ARC read-only archive · snapshot: July 23, 2026

Help with Bloodshed Dev c++!

2 posts · originally from https://geek.digit.in/community/threads/help-with-bloodshed-dev-c.64184/

shady_inc
shady_inc Original post #1
Jul 29, 2007 at 8:04 PM
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
Sykora #2
Jul 29, 2007 at 8:11 PM
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.