2012-11-18, 10:29 PM
Locked Wrote:Or save yourself the function rewrite and do std::reverse(str.begin(),str.end());
Arguably the best solution since there's only one assignment for std:
tring and no copy constructors used. Win win for all. But I don't think we answered his question hahaha. I thought he was asking how to flip a string around.
