Re: [Dev-C++] Bloodshed - console problem
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Vlada D. <dj...@im...> - 2004-03-30 06:39:00
|
----- Original Message -----
From: "Theo Bierman" <th...@uu...>
To: "Dev-Cpp-Users@Lists. Sourceforge. Net"
<dev...@li...>
Sent: Tuesday, March 30, 2004 8:23 AM
Subject: [Dev-C++] Bloodshed - console problem
> Hi all,
>
> Could someone possibly tell me why my console window does not stay open
once
> I have successfully compiled and run a program. Even a program with one
> command printing some test to the screen wont work, it just does not stay
> open.
>
> Has anyone had this problem with Bloodshed?
>
> Thanks
>
> --
> Theo
>
>
The window closes because the program finished and exited. You should add a
line like
system("PAUSE");
at the end of your program, and the window will stay open until you press
any key.
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> 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
|