I'm an amateur coder. I've mainly just stuck with Pascal, VB, and bash shell scripts. However, I've been reading a book on C and I'm wondering if somebody could help me clarify something.

Can somebody give me an example or a good reason for using bitwise operators and manipulating bits. I've seen some examples which are nothing more than examples on how to use the operators (&, |, >>, <<, etc.).

Any help and or clarification would be much appreciated.

------------------
root is the greed of all evil