 |
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 |
 |