Open main menu

CDOT Wiki β

Changes

Code Hunters

348 bytes added, 11:32, 19 October 2012
Coding Rules
*:
== Coding Rules ==
<pre>
int main(){
int var; //All variables declared with own type
int* var2; //asterisk on pointer type
 
if(...){
var = 0; //three spaces for indentation, check tab length in your editor
} //closing brace lined up with last line in block, brace gets own line
else var = 1;
 
} //comment end of functions and long code blocks
</pre>
 
== meetings ==
* latest will be on top