boolean operator >> ... what the -

Miscellaneous Forums/General Discussion/boolean operator >> ... what the -

Is this a boolean operator in in CPP,

a = (b >> c);

??

probably XOR, or NOR, NAND or somthing?

It's a right bit-shift.

There's no need to swear.

Right bit shift ? Thanks!

Here's a nice overview:

http://www.codeproject.com/cpp/bitbashing.asp

Some things tend to overload that for read/write operations and such, so keep that in mind. It's a terrible use of the operator, but it can't really be helped when people seem to think that because it's been done for years, you must continue doing it.