Next: switch/case
Up: C++
Previous: use spaces in type
The space after last ``)'' before ``{'', spaces around condition,
no space after ``if'':
-
- if(aaa > bbb) {
...
<code>
...
}
If use united conditions (with ``&SPMamp;'' and/or ``||''),
than no spaces around condition:
-
- if(aaa>bbb && ccc<ddd) {
...
<code>
...
}
2005-07-21