Problem getting programs to run

Newbie Member
10Aug2007,21:56   #1
davbaseball's Avatar
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?
Go4Expert Founder
10Aug2007,22:04   #2
shabbir's Avatar
Use a function for a userinput like scanf, getch, getche before the program ends so that you can see the output from the program.
Newbie Member
10Aug2007,22:24   #3
davbaseball's Avatar
It works fine now, thanks for the help!