Changes

Jump to: navigation, search

OOP344 - Success - 20102

548 bytes added, 12:52, 19 May 2010
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)
1
edit

Navigation menu