摘要: void ByteToBit(bool *Out,char *In,int bits) //字节到位的转换{ int i; for(i=0;i<bits;i++) Out[i]=(In[i/8]>>(i%8))&1; //这一步实现原理是什么,看了很久都不明白.In[i/8]意思是? } void 阅读全文
posted @ 2016-12-03 17:09 wolfplan 阅读(3602) 评论(0) 推荐(0) 编辑