Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
can java read bits?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Hal Rosser, post: 574378"] Turning on bits is simple as addition turning them off is simple as subtraction some languages use a numer as a series of flagged bits to turn on the '64-bit' (the 7th ) in a variable - add 64 to it. to turn on the '8-bit' (the 4th bit) add 8. all you need to do is realize that the bits relate to powers of two use bitwise operators to check if specific bits are on. I have to review and play around with those bitwise operators every time before I use them. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
can java read bits?
Top