当前位置: 代码迷 >> C语言 >> sos!
  详细解决方案

sos!

热度:413   发布时间:2006-10-12 11:53:03.0
sos!
unsigned short bytecodetoword(unsigned char bytes[])
{
unsigned short word;
unsigned char * buffer;
buffer =(unsigned short*)&word;//这啥子意思?
buffer[0]=bytes[1];
buffer[1]=bytes[0];
return (word);
搜索更多相关的解决方案: sos  

----------------解决方案--------------------------------------------------------
  相关解决方案