RE: [Dev-C++] How to not close output win?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Reid T. <Rei...@at...> - 2003-10-03 11:46:05
|
Create an exit function that has the system pause in it. Then,
everywhere you wish to exit, call the exit function. Only have to have
it in one place.
=20
=20
reid=20
-----Original Message-----
From: Natalie Bryant [mailto:nap...@lo...]=20
Sent: Friday, October 03, 2003 7:03 AM
To: ber...@ce...
Cc: devc++
Subject: Re: [Dev-C++] How to not close output win?
=09
=09
Thankyou Massimo,
=20
I'll bear that in mind for later when I need it.
=20
Kind regards
=20
Natalie
----- Original Message -----=20
From: Massimo Bertozzi <mailto:kb...@ce...> =20
To: Natalie Bryant
<mailto:nap...@lo...> =20
Cc: devc++ <mailto:dev...@li...>
Sent: Friday, October 03, 2003 11:55 AM
Subject: Re: [Dev-C++] How to not close output win?
On Fri, Oct 03, 2003 at 11:39:33AM +0100, Natalie Bryant
<nap...@lo...> wrote:
=09
> Hi Neszt,
>=20
> Reid sent me this solution yesterday to the same
problem. It instantly made everything work properly... Shown below.
=09
Yes, until you have a single exit in your program.
When you have more
possibilities you have to replicate the system("pause")
everywhere.
=09
M.
--=20
Massimo Bertozzi =20
Dipartimento di Ingegneria dell'Informazione Voice:
+39 0521 90 5735
Parco Area delle Scienze, 181A, Parma, ITALY Fax:
+39 0521 90 5723
WWW: http://www.ce.unipr.it/people/bertozzi E-mail:
ber...@CE...
=20
=09
|