From: "Edmund Horner" Newsgroups: comp.os.msdos.djgpp References: <3a03ddb1$1 AT news DOT starhub DOT net DOT sg> Subject: Re: EOF Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Organization: Paradise Net Message-ID: <973340994.714434@shelley.paradise.net.nz> Cache-Post-Path: shelley.paradise.net.nz!unknown AT 203-96-159-177 DOT tnt5 DOT paradise DOT net DOT nz X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: Sun, 5 Nov 2000 01:31:32 +1300 NNTP-Posting-Host: 203.96.152.26 X-Complaints-To: newsadmin AT xtra DOT co DOT nz X-Trace: news.xtra.co.nz 973340995 203.96.152.26 (Sun, 05 Nov 2000 01:29:55 NZDT) NNTP-Posting-Date: Sun, 05 Nov 2000 01:29:55 NZDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com The End of File (EOF) character probably depends on your OS or compiler, but it may actually be standardised across most platforms. For DJGPP, EOF is defined to be -1. It's probably simplest just to use the "EOF" word. "Michelle" wrote in message news:3a03ddb1$1 AT news DOT starhub DOT net DOT sg... > > What is EOF char for me? > > I am using pentium 166MMX. > Is EOF OS dependen or HW dependent? > > TIA > >