I\'m looking for a way to rotate a string in c++. I spend all of my time in python, so my c++ is very rusty.
Here is what I want it to do: if I have a strin
I recommend std::rotate:
std::rotate(s.begin(), s.begin() + 1, s.end());