0x12345怎样用cout格式化输出为00012345?如题,谢谢[解决办法]#include <iomanip> cout < < setfill( '0 ') < < setw(8) < < hex < <0x12345;[解决办法]請問你是不是指定了8位字長呀? 你自己再看下