实现高低字位交换函数
时间:2010-03-12 来源:yanzhiyi1012
#include<iostream>
#include<string>
using namespace std;
int main()
{
unsigned short a=0xABCD;
unsigned short b,c,d;
b=(a<<8)&0xff00;
c=(a>>8)&0x00ff;
d=c|b;
printf("%x",d);//cdab
}
相关阅读 更多 +
排行榜 更多 +









![《小朋友齐打交2复刻版》 v2.14d升级档+未加密补丁[TENOKE]](https://images.phpfans.net/img/f1/20251229/logo_69527f2a9daf81.jpg)
