 |
c++ - How to detect end-of-file when using getline? - Stack ...
2010年3月12日 - It evaluates to false if you try to read past EOF. ... error handling but I would not recommend this either if the program reads until the end, as that ...
stackoverflow.com |
 |