阅读背景:

如何在C / C ++中使用Binary中的数据

来源:互联网 

I have to do some work work with integers, but I am interested in treat them as binary data, in a way that for example I can take the 4 most significant bits of an 32 bit value. What I am trying to do is, I have several 32 bit value I want to take for example, in the first one 4 bits, the second one 6 bits and the last one 22 bits, and after concatenate them and get another 32 bits value.I have to do some work work with integers, but




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: