I'm trying to read a file that has hex values. I fread into a buffer, but I'm have trouble displaying the values via printf. Also, when I try to write the buffer, I'm getting one 0.
Any suggestions on how to display a hex value and/or write a hex value to a file, would be appreciated.
Thanks
MMC