123456
std::string a="tomorrow" for (int i=0; i<a.size(); i++) { std::rotate(a.begin(), a.begin()+1, a.end()); std::cout<<a<<std::endl; }