开发者

How would you convert from ASCII to Hex by character in C?

I basically just want to take a 8 character ASCII value 003fc000 and conver开发者_运维问答t it to Hex by character.


You mean convert it to a hex integer?

int num = (int)strtol("003fc000", NULL, 16);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜