Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bin to hex format

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
can someone tell me how to get data from a binary file and convert it to hex form
 
do you know the format of the binary data (i.e. 8 bit, 16, 32). Once you know that you can read it in and though it will be in "decimal" format you can use functions like sprintf(buffer,"%x",value) to see the hex value. If you need more help, just repost. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top