摘要: 移位运算 要点 1 它们都是双目运算符,两个运算分量都是整形,结果也是整形。 2 " < <" 左移:右边空出的位上补0,左边的位将从字头挤掉,其值相当于乘2。 3 ">>"右移:右边的位被挤掉。对于左边移出的空位,如果是正数则空位补0,若为负数,可能补0或补1,这取决于所用的计算机系统。 4 "> 阅读全文
posted @ 2017-08-04 21:55 银河渡舟 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Definition[定义]: The #define Directive You can use the #define directive to give a meaningful name to a constant in your program. The two forms of the 阅读全文
posted @ 2017-08-04 21:53 银河渡舟 阅读(524) 评论(1) 推荐(0) 编辑