Bitwise operations: Difference between revisions

Content deleted Content added
Ce (talk | contribs)
m →‎{{header|C++}}: oops, forgot lang end tag (you don't see that in section preview ...)
Ce (talk | contribs)
→‎{{header|C++}}: I just noticed that the task demands rotations as well
Line 214:
unsigned int c = a;
std::cout << "c sra b: " << (c >> b) << '\n'; // logical right shift (guaranteed)
// there are no rotation operators in C++
}
</lang>