控制语句...................................................................................................................................5
if ........................................................................................................................................5
if.。。else.........................................................................................................................6
for......................................................................................................................................8
switch case ......................................................................................................................10
while................................................................................................................................11
do。。.while...................................................................................................................12
break................................................................................................................................12
continue...........................................................................................................................13
return...............................................................................................................................14
goto .................................................................................................................................15
相关语法.................................................................................................................................16
分号.................................................................................................................................16
大括号.............................................................................................................................16
注释.................................................................................................................................18
define...............................................................................................................................19
include.............................................................................................................................20
算术运算符.............................................................................................................................21
赋值.................................................................................................................................21
加,减,乘,除................................................................................................................21
取模.................................................................................................................................22
比较运算符.............................................................................................................................24
if(条件) and ==, !=, 〈, 〉 (比较运算符) .................................................24
布尔运算符.............................................................................................................................26
指针运算符.............................................................................................................................27
位运算.....................................................................................................................................27
位与.................................................................................................................................27
位或.................................................................................................................................28
位异或.............................................................................................................................30
位非.................................................................................................................................32
左移、右移.....................................................................................................................33
复合运算符.............................................................................................................................35
自加++ ............................................................................................................................35
自减—- ...........................................................................................................................35
复合加+= ........................................................................................................................35
复合减-=.........................................................................................................................36
复合乘*= ........................................................................................................................36
复合除/= .........................................................................................................................36
复合与&= ......................................................................................................................36
复合或|= ......................................................................................................................36
变量 36