RE: [Dev-C++] How to not close output win?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Matthews <dem...@uw...> - 2003-10-04 17:15:00
|
Alternately, you can use getchar(), a portable, standard, etc. method of
leaving the input around until you press a key.
At 05:59 PM 03/10/2003 +0100, Daniel Glenfield wrote:
>what a great idea!!!
>
>
>>From: "Reid Thompson" <Rei...@at...>
>>To: "Natalie Bryant" <nap...@lo...>,<ber...@ce...>
>>CC: "devc++" <dev...@li...>
>>Subject: RE: [Dev-C++] How to not close output win?
>>Date: Fri, 3 Oct 2003 07:45:16 -0400
>>
>>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.
>>
>>
>>
>>reid
>>
>> -----Original Message-----
>> From: Natalie Bryant [mailto:nap...@lo...]
>> Sent: Friday, October 03, 2003 7:03 AM
>> To: ber...@ce...
>> Cc: devc++
>> Subject: Re: [Dev-C++] How to not close output win?
>>
>>
>> Thankyou Massimo,
>>
>> I'll bear that in mind for later when I need it.
>>
>> Kind regards
>>
>> Natalie
>>
>> ----- Original Message -----
>> From: Massimo Bertozzi <mailto:kb...@ce...>
>> To: Natalie Bryant
>><mailto:nap...@lo...>
>> 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:
>>
>> > Hi Neszt,
>> >
>> > Reid sent me this solution yesterday to the same
>>problem. It instantly made everything work properly... Shown below.
>>
>> Yes, until you have a single exit in your program.
>>When you have more
>> possibilities you have to replicate the system("pause")
>>everywhere.
>>
>> M.
>> --
>> Massimo Bertozzi
>> 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...
>>
>>
>>
>
>_________________________________________________________________
>On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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
>
|