Here is what my program needs to do. I am trying to open a binary file and read 16 bits into a structure which I am able to do. I then look at the first 8 bits and depending on what number it is, I need to skip that number of bits and then read another 16 bits.
I am fairly new to C and extremely new to file I/O, especially with .bin files. How exactly do I move a certain number of bits rather than bytes?
Thanks in advance.