[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OT: c++ eof() function in gcc



Hi

It's a bit off topic so answer me privatly please.

I know that in other c++ compilers (other than gcc) the keyboard input for
cin.eof() is Ctrl+Z. But when i compile a program with g++ and run it,
Ctrl+Z only stops the program. Do you know how I actually activate this
function ?

Thanks

Ishai.



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il