Re: [Dev-C++] How to not close output win?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Michael D. S. <for...@hi...> - 2003-10-03 14:30:06
|
> Windows is responsible for the rest. In Windows, when a > console program has finished executing, its console is closed as well. Well, yes but there is a /K option to the DOS statement "command" that should keep the window open. I've just been, unsuccessfully, trying to figure a way to get it to recognize that option. Most anything can be done if you want it bad enough. Does that mean it's easy -- that it's worth doing -- that we'll ever figure it out :) ms At 09:05 AM 10/3/03, you wrote: >On Fri, Oct 03, 2003 at 03:43:28PM +0200, "P.D. van Zelst" ><pa...@my...> wrote: > > > How about the simplest solution of them all. Simply open a command prompt > > yourself, go to your project directory, and execute your console program > > from the command line. All those code workarounds are evil. Your "output > >Yes, probably I will be forced to do so if I do not want to change 100 >code examples :) > > > window" (console) closes because Dev-C++ simply launches the executable it > > just compiled. Windows is responsible for the rest. In Windows, when a > > console program has finished executing, its console is closed as well. This > > is normal, standard behaviour, and has nothing to do with Dev-C++ (and > > Dev-C++ isn't responsible for fixing this either). The solution to this > >I do not agree with this. Of course, it is the standard behaviour but I >do not find it very confortable. In particular, from a developer point >of view, I would like to see my output. At the same time I am much more >used to press compile&run, than compile - switch window - execute. > >Moreover, other compilers behave in a different manner (anyway for all >other aspects I like dev c++ a bit more). > >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... > > >------------------------------------------------------- >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 |