阅读背景:

C/ c++检查是否设置了一个比特,即int变量。

来源:互联网 
int temp = 0x5E; // in binary 0b1011110.

Is there such a way to check if bit 3 in temp is 1 or 0 without bit shifting and masking.Is




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

分享到: