COMP1921 Style
Extends the range of allowed constructs:
- layout: consistent indentation still required
- use of brackets:
- always, even for single statement blocks
- put function start bracket on line after function header
- can use all of these C control structures:
-
if , switch , while , for , break , continue
|