1
edit
Changes
→Member List: Added team rules
|-
| E || Park || Hong Geung ||[mailto:hgpark@learn.senecac.on.ca hgpark] || A || http://goldenration.wordpress.com/ || goldenration || n/a || [[Special:Contributions/goldenration | Contributions ]] ||
|-
|}
== Rules to follow ==
(this is just an example, lets discuss it)
1. Two spaces for indentation
ex/
int main
{
int i;
int j;
if (i == 0)
{
i = 1;
}
}
2. camel for vars ex: char thisIsCamel; int forLoop;
3. Do not create variables that are never use
4. Only use breaks in switch statements
5. Begin each class with #ifndef
6. Do not use redundant statements (i.e: if (x != 0) )
7. Comment with '/*' example: /* insert comment here */. Do not use '//' because that is use in c++ (we're coding in C)