Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems detecting EOF when using ifstream class on LynxOS 4.2

1 view
Skip to first unread message

jmd...@yahoo.com

unread,
Jul 9, 2008, 8:25:29 PM7/9/08
to
We use the ifstream class to read configuration files during
application startup. Strangely, when calling the ifstream::eof
method, it never returns true, even though we have read all the lines
in the file. This results in an infinite loop. Has anyone seen
similar behavior?
0 new messages