Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Problem getting programs to run (http://www.go4expert.com/forums/getting-programs-run-t5791/)

davbaseball 10Aug2007 21:56

Problem getting programs to run
 
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 10Aug2007 22:04

Re: Problem getting programs to run
 
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 10Aug2007 22:24

Re: Problem getting programs to run
 
It works fine now, thanks for the help!


All times are GMT +5.5. The time now is 13:44.