I have a piece of code:
char temp = word; word.erase(0, 1); word.append(temp); //word.push_back(temp); is fine
I got an error:
error: no matching member function for call to ‘append’
My question is why I can’t use append() here? Thanks in advance!
Source: Windows Questions C++