tags:

views:

67

answers:

1

I basically just want to take a 8 character ASCII value 003fc000 and convert it to Hex by character.

+4  A: 

You mean convert it to a hex integer?

int num = (int)strtol("003fc000", NULL, 16);
Michael Mrozek
Although you should use `long`, since `0x3fc000` isn't guaranteed to fit into `int`.
caf