File EOF with empty last line of file - C++ Forum - Cplusplus.com
I'm getting back into C++ using Eclipse and MinGW. ... and ignores the "empty" crlf but finds data just beyond and reads until it hits the next crlf. ... So with getline() you will eventually hit the end of the file with the "crif" extracted.
www.cplusplus.com |