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