Problem getting programs to run

davbaseball's Avatar, Join Date: Aug 2007
Newbie Member
Im new to programming so naturally i started off with "hello world", but when i try to run it, the ms-dos window thats supposed to display it flashes across the screen for a bout a fraction of a second and then closes.
By the way, im using Bloodshed Dev--C++ 4.9.9.2 to write and compile programs.
any help?
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Use a function for a userinput like scanf, getch, getche before the program ends so that you can see the output from the program.
davbaseball's Avatar, Join Date: Aug 2007
Newbie Member
It works fine now, thanks for the help!