--- Lars Finsen <[EMAIL PROTECTED]> wrote: > In Borland's C++ I have problems getting eof() to > work on a text file > opened as "ifstream(filename) ui", while the call > that fails to find > EOF is "ui.eof()". Currently I am testing for some > unique content of > the last line instead, but am unhappy with this. Any > other > suggestions? I haven't found any bugs in Borland's > C++ so far, and I > suspect the problem is due to my incomplete > knowledge. I am just > beginning to learn C++ I/O. > > LEF > Please provide the code that is giving you the problem. It may be where you are testing. Does it keep reading multiple records after end of file, or just one?
Ray ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know.
