unsigned char bcd串乱码问题解决

unsigned char bcd[13];

......

string bcdstr;

for(int i=0;i < 12;i++)

{

bcdstr=FormatString("%s0x%.2x",bcdstr.c_str(),bcd[i]);

}

原文地址:https://www.cnblogs.com/daochong/p/6531339.html