Saundra, try this:
#include <stdlib.h>
system ("pause");
It should ask for input to continue.
>From: "Saundra Schwarz" <Sch...@ho...>
>Reply-To: dev...@li...
>To: <dev...@li...>
>Subject: [Dev-C++] Print Question
>Date: Tue, 10 Oct 2000 18:59:44 -0700
>
>I'm a student taking a class in C programming. I need to be able to print
>the results of my program, but when I use the run feature the program runs
>then the run window closes. Is there a way to keep the run window active
>so that I can print the results of my run? Right now i'm using a while
>loop at the end of my programs to hold the screen until I can print.
>
>-Sam
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
|