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
Is doing it in place a requirement?
If not, you're probably best off taking a substring of all but the first char, and then appending the first char to the end.