位運算的威力

轉載自:http://blog.csdn.net/iukey/article/details/7195265java 1、有關位運算的基礎知識總結 位運算包括: &(與)、|(或)、^(異或)、~(取反)、>>(右移)、<<(左移)web 環境預設:32位機下面,int佔2個字節,有符號 int a = 11; int b = 1000; (a)2 = (00000000 00001011 )2
相關文章
相關標籤/搜索