can anyone tell me how to get?
can anyone tell me how to get?
How do you input the Hex value? From a file/user? In what format?
If it not from file/user or other IO, then it is in the memory. That means it is in binary format. If it is then it just characters.
first figure out which end is high and which end is low, then read a reference for bitwise operators.
Not sure what you mean, but if your values are stored in memory, then AND'ing will get you the desired effect.
Code://check if 8th bit is set if(randomValue & 0x80) { //do stuff }
How To Ask Questions The Smart Way
That link contains info about how you'll "get" anything.
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"
its a hex value from the memory its 4bytes long and i need the low and high part of it btw can u tell me to find refenreces about this?
anyway isnt in each value a high and a low bit?
any help welcome
thnx
@C_ntua:
the value is directly from the ram if u wanna know