登 录
初始值为bool i = 0,不断的按位取反i = ~i; 之后一直显示是1,为什么呢?
0(0x00)按位取反得到0xff,赋给i后i = 1;
1(0x01)按位取反得到0xfe,赋给i后i = 1;
.....
如此重复。。。
抱歉!评论已关闭.