vs2013 c++ 怎么将一个10进制整形数据(如,12345678),转换为16进制byte型并交换数据顺序(4E61BC)
int RevertHex( int n){交换最高字节和最低字节int n1= 0xff000000 & n;int n2= 0x000000ff & n;n = (n&0x00ffffff)|(n2&
int RevertHex( int n){交换最高字节和最低字节int n1= 0xff000000 & n;int n2= 0x000000ff & n;n = (n&0x00ffffff)|(n2&