First of all, just to let you know, I'm a beginner and I can barely use structures and (maybe) lists. ^^'
What I'm trying to do is make a program to read 16 bits values from a header-less RAW file, comparing values and write new values into another RAW file.
Nothing too difficult, except I'm having problems reading 16 bits numbers from the input RAW file.
Plus, I have to deal with little/big endian byte reading methods, which, however, I've already sorted out by using char arrays.
But now I need to know how to reassemble the two bytes in a single 16 bits number that I can use for calcs. =p
Any idea or tutorial I could use? =|