Class notes: CISC181 02/17/06 2:30pm Lecture Notes A debugging tip. If you get the error message: "readNames.cc", line 35: Error: Taking address of the bound function std::ios::eof() const. If you get this error, it typically means that you making a function call but forgot the (). E.g. WRONG: while (!infile.eof) CORRECT: while (!infile.eof() ) The fact that eof() ends in parentheses means that it is a function call The fact that I have infile.eof() The infile. part means that eof is a "member function" of the class to which infile belongs. An emacs tip... to find the "end of the file" use escape > to jump to the start of the file, use escape <