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

ifstream and getline - C++ Forum - cplusplus.com - The C++ Resources Network

(The trick is that they are two totally different functions. The one you want, exampled by Galik, is a global function provided by #including . ... The line is read and saved in the string. I have confirmed this because I made a cout after the getline fun

www.cplusplus.com

網址安全性掃描由 google 提供