delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/17/21:02:40

Date: Mon, 17 Jul 2000 21:01:12 -0400
Message-Id: <200007180101.VAA17696@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3973AAC0.FD795944@gmx.de> (message from Hanno Stehling on Tue,
18 Jul 2000 02:54:24 +0200)
Subject: Re: Problem with ifstream.eof()
References: <3973AAC0 DOT FD795944 AT gmx DOT de>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> ifstream.eof() returns FALSE, although the current position in the file
> is EOF. After reading one more byte, ifstream.eof() returns TRUE, but,
> of course, ifstream.good() returns FALSE.

This is the way it's supposed to work.  It's also not a djgpp-specific
issue.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019