NoXzema (699) C++ streams can do this using std::hex. printf("Hex = %#x ", 28); will print out 0x1c What if I want to print 0x001c for 16-bits?, ...
確定! 回上一頁