Here's the problem, hope someone can help:
I have read in 2 bytes from a file and have to decipher info from these two bytes based on bits!
My inofrmation is stored in the first 7 bits of the 2 bytes and there is other info in the last 9 bits of the 2 bytes. I was told that the >> or << operators can be used? Can anyone show me how I could use them to store say the first 7 bits into a variable called date? Thanks in advance.