Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Chris Boot <email@hidden>
- Date: Thu, 30 Aug 2001 20:35:16 +0200
Hi,
>
int main (int argc, const char * argv[])
>
{
>
float x;
>
cout << "Hello, World!";
>
cin >> x;
>
>
>
return 0;
>
}
Try putting a flush after the cout. The fourth line of the above example
would look like:
cout << "Hello, World!" << flush;
If that works, you'll need to put the flush in wherever you need the text to
be displayed.
HTH,
--
Chris Boot
email@hidden
An ASCII character walks into a bar. Bartender asks, "What'll you have?"
ASCII character says, "Give me a double." Bartender asks, "Having a bad
day?" ASCII character says, "Yeah, I have a parity error." Bartender says,
"Hmmm. I thought you looked a bit off."