Re: [Dev-C++] RE: I just got the Dev-C++. Why is it that when I select
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Thomas J. <th...@zi...> - 2001-06-14 06:24:17
|
At 06:02 14-6-2001 +0530, you wrote:
>se =
>give me a=20
>weblink where I can find it.</FONT></DIV>
><BLOCKQUOTE dir=3Dltr=20
>style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
>BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
>
>
>
>
>
>
>--__--__--
>
>Message: 3
>From: "John Dempsey" <jr...@gp...>
>> Dear Sir,
>> I'm a novice. " , as soon
>> as I run the program, the screen switches into Dos and back to
>> Windowa at lightning speed, I can't even see what the computer did.
>> How can I tell the program to go to DOS and stay there? Or better
>> yet, how can I execute these simple programs from the Dev-C screen
>> without even going to DOS?
>> Yours truly
>> John Dempsey
>>
>
>
>Hai,
>You can use the following lines in your cods. It stops!
>
>__#include <iostream.h>
>#include <stdlib.h>
>
>int main()
>{
>
> system("PAUSE");
> return 0;
>}
>
>ashok
What's wrong with a getch() at the end of the program?
#include <conio.h>
main()
{
... //the code
getch();
}
Thomas
|