—〉 |
—〉 | |
—〉 #include
—〉 stdio.h丨stdlib.h丨string.h
—〉
—〉 struct
—〉
—〉|||&
—〉||||&
—〉 ||||&
—〉 =A/A=
A —> &|+|-
—> 〉| < | 〉=| <=
—〉 + | - | * | /
—〉 if else语句|switch语句||&
—〉 for语句|while语句|do while语句||&
—> return语句|break语句|continue语句
—> 丨丨
—> int丨char丨double丨float丨long
—> 丨〈数字〉
〈==〉 S
S —> AS1
S1 —> S1S2
S2 —> A|B|&
A —> a|b|c|……y|z
B —> 0|1|2|3|4|5|6|7|8|9
—> a|b|c|……y|z
〈==〉 S
S —> AS1
S1 —> S1AS2
S2 —> &|0
A —> 1|2|3|4|5|6|7|8|9
原文:http://www.cnblogs.com/swxvico/p/6188522.html