ODBiC Discussion Board


Bitwise AND

by Randal Lathrop, September 15, 2004 08:36

What operator do I need to use to perform a bitwise AND between two numbers? Example: X = 5; Y = 4; when ANDing X with Y returns 4. I need to be able to determine which bits are setting in a binary number.


Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.