Module 0219: “Compiling” control structures
Tak Auyeung, Ph.D.
March 11, 2010
1
About this module
2
Purpose of this module
3
C control structures
3.1
Condition statements
3.2
Pre-checking loop
3.3
Post-checking loop
4
Conditional goto and boolean operators
4.1
not
4.2
or
4.3
and
4.4
Simple reductions
5
Comparisons
5.1
General compare
6
About nesting and labels
6.1
Indentation
6.2
More useful names
6.3
Sequential numbers
6.4
Nested constructs
6.5
Boolean operator reduction transformations
7
A longer example