經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供