Hi,
I have a binary file which has a format consisting of an X value stored as a 32 bit signed integer, a Y value stored as a 32 bit signed integer and a 24 bit character array etc etc.

My questions are:

How do I read the data in and store the X, Y and character?

How do I convert the X, Y and characters so I can use them in my program?

I've read up a bit on binary files but I can't seem to get the data in and converted.

Any help would be much appreciated.

many thanks

john