Boulgakov Andrei <[EMAIL PROTECTED]> writes:

> Hi!
> I compile and run small application on 2  RH8 gcc3.2 stations and get
> different behavior of cout:
> On Celeron 1000 Mhz I don't get out line without endl at the end(#6, output is
> 5 only),
> On PII(I?) 650 Mhz I get all lines(output 5\nfilename).
> What can be the cause? 
> 
> 1. #include <iostream>
> 2. using namespace std;
> 3. int main()
> 4. {
> 5.        cout << __LINE__ << endl;
> 6.        cout << __FILE__;
> 7.        return 0;
> 8. }
> 
> Boulgakov Andrei

What's your prompt? Shell? Some shells (notably ksh) will overwrite
your filename with the prompt. Bash normally doesn't.

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to