cannot convert parameter 1 from 'std::string' to 'char *'

SOLVED.
Last edited on
there are two functions called 'getline'
http://www.cplusplus.com/reference/iostream/istream/getline/
http://www.cplusplus.com/reference/string/getline/
only the second one works for std::string
Topic archived. No new replies allowed.