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

Reply via email to