Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bit operator

Status
Not open for further replies.

mattias1975

Programmer
Jul 26, 2004
36
SE
Hello!

I have a question.
What is the bit operator good for?
What is the most comon task to perform with it?

Thank you
 
storing switches, if one byte = 16 bits
int sw = 1; 16 bits
but with the bitwise, you can gain 16 switches.
mainly used with low memory applications.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top