Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
Alpha
No change in size
,
23:17, 9 November 2012
→
Coding Rules
int b; // one line only declare one variable
if ( a == b ) { //leave space between variables and everything else
a++;
}
else if( b > a ) { //put else if in next line
b++;
}
else{
a = b; //comment properly after which line need it
}
Shijie Sun
1
edit