I basically just want to take a 8 character ASCII value 003fc000
and convert it to Hex by character.
views:
67answers:
1
+4
A:
You mean convert it to a hex integer?
int num = (int)strtol("003fc000", NULL, 16);
Michael Mrozek
2010-04-23 17:21:05
Although you should use `long`, since `0x3fc000` isn't guaranteed to fit into `int`.
caf
2010-04-24 00:37:43