Changes

Jump to: navigation, search

Team S - OOP344 20133

146 bytes added, 20:05, 17 October 2013
Coding Style and Standards
* Do not use tab character
* 4 spaces
=== Comments ===
* comment above function definition (summarize function)
* comment beside function declaration
* comment complex code
=== Variable Naming ===
* asterisk of a pointer will be attached to the type, not the variable name: int* pointer;
* extern prefix: extern int _externInt;
=== Code Blocks ===
* all braces have their own line
doSomethingElse();
}
</syntaxhighlight>
=== Variable Naming ===
<syntaxhighlight lang="cpp">
int* pointer; // * is attached to the data type, not the variable name
 
</syntaxhighlight>

Navigation menu