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.
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.
thanks sir,but how i set pause time in progm?
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.
