SyntaxFix
Write A Post
Hire A Developer
Questions
std::string str; char* const s = "test"; str.assign(s);
string& assign (const char* s); => signature FYR
Reference/s here.