From: Zachary U. <ne...@gm...> - 2004-11-25 02:22:30
Hi,
When I compile and run a program it brings up a console window and
then quickly closes the window and the program finishes execution. I
wish to add a pause so that the console window will stay open when I
run a program. How can I do this?
Zach
.
----- Original Message -----
From: "Zachary Uram" <ne...@gm...>
To: <dev...@li...>
Sent: Thursday, November 25, 2004 2:22 AM
Subject: [Dev-C++] How to pause?
> Hi,
>
> When I compile and run a program it brings up a console window and
> then quickly closes the window and the program finishes execution. I
> wish to add a pause so that the console window will stay open when I
> run a program. How can I do this?
>
> Zach
>
getchar();
for one.
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/04