Ishai Parasol wrote:

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

Actually it's right on topic.
 
> 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 ?


Your shell is catching the control z first. Look at man stty under susp.
(suspend character)

* any c++ library would have the same effect under Linux.

Geoff.

-- 
Geoffrey S. Mendelson
Tel:  (03) 6944-211  Fax: (03) 6944-225 Email: [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