C Programming promt screen closes right away

G

Guest

I am taking a C Programming class right now but am having a ton of trouble
getting the MS-DOS prompt screen to stay open when I go and execute the
program. I have found some places that have given me commands to put into
the program to make them stay open but, it seems they don't work with every
program that I write. This is getting very frustrating. Anyone know any
solutions!

Thanks
 
V

VManes

open a command prompt window, execute your program. the window will stay
open.

If you execute your program by double-clicking it's icon, as soon as it's
done its thing, the command window closes, by design.

Val

--
Bringing you BeadWizard Design Software
www.beadwizard.com
***************************
Practice safe eating -- always use condiments.
***************************

"MS-DOS prompt screen automatic closure" <MS-DOS prompt screen automatic
(e-mail address removed)> wrote in message
I am taking a C Programming class right now but am having a ton of trouble
getting the MS-DOS prompt screen to stay open when I go and execute the
program. I have found some places that have given me commands to put into
the program to make them stay open but, it seems they don't work with every
program that I write. This is getting very frustrating. Anyone know any
solutions!

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top