【发布时间】:2013-12-13 22:03:00
【问题描述】:
所以我有数字 12 我如何以格式打印出来
0x0000000C // where there is always the 0x in the beginning and always 8 digits after to
// represent the number
fprintf(outputFile, "%x", 12);
给我:
cc
但我想要:
0x0000000C
【问题讨论】: