TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Darin McBride
from: Gerry Danen
date: 1998-11-11 12:29:40
subject: getchar and EOF

DM> platforms. In general, and by default (IIRC):
 DM> DOS, Windows (Win32 console only), OS/2: Ctrl-Z
 DM> Unix: Ctrl-D

 GD> Hmmm, forgot about Unix. Is there no standard EOF for Windows (other
 GD> than Win32 console)?

 DM> Well, Ctrl-Z works 'cuz it's the same library. However, if you're not
 DM> using Win32 console, you won't be able to "type" into a
"file stream."
 DM> Kinda pointless. :-)

Haven't played with it enough to make a valid comment, but isn't EOF
used for reading text files, regardless of environment?

Gerry Danen === email gdanen{at}bigfoot.com == ICQ 17897683 ===
            === home page http://home.istar.ca/~gdanen =====
1 year and 51 days until January 1, 2000.

--- Maximus 3.01
* Origin: I need more time and money... (1:17/667.8)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 634/397 635/506 728 639/252
SEEN-BY: 670/218
@PATH: 17/667 275/1 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.