No you're using the wrong getline() there are two versions of getline() one for std::string and one for C-strings. You need to use the proper version depending upon you're using a C-string or...
Type: Posts; User: jimblumberg
No you're using the wrong getline() there are two versions of getline() one for std::string and one for C-strings. You need to use the proper version depending upon you're using a C-string or...
Am I missing something? What is wrong with getline() with the std::string instead of using the C-string version of getline()?
Jim