
04-15-2004, 02:11 PM
|
|
Freshman
|
|
Join Date: Mar 2004
Posts: 37
|
|
Bitwise operation
|
Hi... i'm just asking some questions which might be very easy ... but i'm still new... pls pardon me.
For Bitwise Operation of e.g. A=&H5 and B = &H1F
Can i do this for AND and OR operation, and it will perform a bitwise so long it is a number rit??
Result = A AND B
Result = A OR B
How do i translate the follow in C++ to Visual Basic..
ts=(Buffer[3] == 0)? 1:2<< Buffer[3];
Thank you
|
|