Re: [Dev-C++] How to not close output win?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Natalie B. <nap...@lo...> - 2003-10-03 10:39:48
|
Hi Neszt,
Reid sent me this solution yesterday to the same problem. It instantly =
made everything work properly... Shown below.
Kind rgeards
Natalie
-------------------------------------------------------------------
add the following line just before the return in your main function
system("PAUSE");=20
If you create a new project in Dev-cpp it gens an intial main function =
with this in it by default:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
=20
system("PAUSE");=20
return 0;
}
This should remedy the closing of the window.
reid=20
----- Original Message -----=20
From: Neszt Tibor=20
To: Massimo Bertozzi=20
Cc: Dev...@li...=20
Sent: Friday, October 03, 2003 11:18 AM
Subject: Re: [Dev-C++] How to not close output win?
> I am using Dev-C++ to teach C++ at my university. The first =
examples I
> discuss in class are very very simple (like hello word). Anyway I =
would
> like to show the output. Unfortunately, Dev-C++ close immediately =
the
> output window. I did not find any options to change this behaviour.
:-)))))))
I recommend the dev-c++ develoopers to make a new example witch show =
this
to avoid these questions in the future..=20
Neszt Tibor
-------------------------------------------------------
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
=20
|