Reading hex values from a file
Reading hex values from a file
- Subject: Reading hex values from a file
- From: Jon <email@hidden>
- Date: Fri, 7 Jan 2005 23:07:20 -0700
I need to read hex values from a file. I use fopen/fseek/fread/fclose
to open and read my data (then convert the characters into hex). For
some reason, the characters (before being converted into hex) are
different from what I see in my hex editor... The characters fread puts
into my character array are what I see if I open the file in text edit
and look at the file. What am I doing wrong? Should I not be using
fopen/fseek/fread/fclose? Is there another thing I should be using?
Any help appreciated,
jjoonathan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden