Open main menu

CDOT Wiki β

Changes

Hadouken

621 bytes added, 17:45, 4 November 2012
Coding Rules: -Added variables, classes and defines
* use 2 spaces to indent
* do not leave any empty lines, if necessary leave a comment on the newline to separate content
 
 
*If variable or class has a measurable value, the units will be added to the end for the var name.
*Variables will be completely in lower case and declared separately on a new line.
**Pointers will have the asterisk near the type when casting and near the variable name when not.
*Classes will begin each words with an uppercase character followed by lowercase characters.
class
*Constants and/or variable defines will be all uppercase separated by underscores
*Types will be casted in lowercase
 
<code>
<br/>#define MAX_LENGTH 5
<br/>const CAR_TONNES 2
<br/>int x;
<br/>int* y;
<br/>*y = x;
<br/>int weightlbs;</code>
== Meetings ==