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

c++ - Using the fstream getline() function inside a class - Stack ...

std::string str; std::ifstream file("file.dat"); std::getline(file, str);. It is worth noting there are better safer ways to do what you are trying to do like so:

www.google.com.tw

網址安全性掃描由 google 提供