Original Post
🔒 Locked
Errors
Advertisement
Well, if you're reffering to the line about the invalid conversion, I'd suggest you take a s.substr().c_str(). That would procuce a const char string to be copied into the vector. I don't know if you could even fo s[nt].c_str(). Maybe that would work. Check this site out: http://www.cppreference.com/index.html
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement