当前位置:编程学习 > 网站相关 >>

Is Bigendian?

[html] 
bool IsBigendian() 

 unsigned short usData = 0x1122; 
 unsigned char *pucData = (unsigned char*)&usData;  
 return (*pucData == 0x22); 

补充:综合编程 , 其他综合 ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,