C++中char转换short(或者int)要注意的现象

char temp = 0x80;
cout << "unsigned short of 0x80=" << dec << (unsigned short)temp <

你可能感兴趣的:(C++开发)