Solved iam using dec-c++ forc programming,cant get output...

April 13, 2012 at 04:24:59
Specs: Windows XP, intel
I cann't get the output display when running code from within Dec-C++ IDE.
compile successflly, but after running output window is not getting.
any other c comilers other than turboc and dec c+++.... i need a good user friendly and good with a good appearance.

See More: iam using dec-c++ forc programming,cant get output...

Report •


#1
April 13, 2012 at 10:51:46
"Output window is not getting" what?

How To Ask Questions The Smart Way


Report •

#2
April 13, 2012 at 11:44:28
✔ Best Answer
With almost every IDE you have to add code to your program to pause it before it exits. Otherwise the window containg the results will close. Just add code to read a character right at the end of the program; you will then see the results (and will have to enter a character to end the program).

Alternatively, run the program from a command prompt, not from the IDE.


Report •

#3
April 15, 2012 at 01:57:35
thanks sir,but how i set pause time in progm?

Report •

Related Solutions

#4
April 15, 2012 at 02:26:27
I told you how to do that.

Add a line at the end of your code to input a character. The program will then stop and wait for you to do that before it closes.


Report •


Ask Question