Changes

Jump to: navigation, search

Team H - OOP344 - 20132

293 bytes added, 13:51, 13 June 2013
Programming Style
== Programming Style ==
=== Indentation===
* 2 spaces for indentationIndents made with tabs* Do not use tab characterTab size is four characters
=== Blocks ===
<syntaxhighlight lang="cpp">
ifint main(condition){ char ch = '0'; int i;  for(i=0; i<10; i++){ cout << i; }  switch(ch) { case 0: cout << 0; break; case 1: cout << 1; break; }  whateverreturn 0;
}</syntaxhighlight>
=== Classes ===
<syntaxhighlight lang="cpp">
class Console {
private:
 
public:
Console();
~Console();
}
</syntaxhighlight>
=== Variable Naming ===
Lower Camel Case
<syntaxhighlight lang="cpp">
int main()curPos{setPos int a = 1;row char* bookNames; char bookId return 0;}col
</syntaxhighlight>

Navigation menu