OT: c++ eof() function in gcc

2000-10-30 Thread Ishai Parasol
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 Isha

Re: OT: c++ eof() function in gcc

2000-10-30 Thread Geoffrey S. Mendelson
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

Re: OT: c++ eof() function in gcc

2000-10-30 Thread Gilad Ben-Yossef
"Geoffrey S. Mendelson" wrote: > > 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 > ^^^ * > > > ci

Re: OT: c++ eof() function in gcc

2000-10-30 Thread Shaul Karl
Isn't Ctrl+D the equivalent UNIX function for DOS's Ctrl+Z? (Unless you explicitly changed it. Is this done by stty?) > 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) th

Re: OT: c++ eof() function in gcc

2000-10-31 Thread Ishai Parasol
Thanks for the replies, I tried it and it is Ctrl+D. Ishai. On Tue, 31 Oct 2000, Shaul Karl wrote: > Isn't Ctrl+D the equivalent UNIX function for DOS's Ctrl+Z? > (Unless you explicitly changed it. Is this done by stty?) > > > > Ishai Parasol wrote: > > > > > It's a bit off topic so answer