How do you rotate bits in C++?

I think i know a bitshift ( >> ) right? But that clips off the edges dont it?


Any help would be appreciated! Thanks!