Difference between revisions of "Team H - OOP344 - 20132"
(→Master Status) |
(→Programming Style) |
||
Line 10: | Line 10: | ||
== Programming Style == | == Programming Style == | ||
=== Indentation=== | === Indentation=== | ||
− | * | + | * Indents made with tabs |
− | * | + | * Tab size is four characters |
=== Blocks === | === Blocks === | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
− | + | int main(){ | |
− | + | 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; | ||
+ | } | ||
+ | |||
+ | return 0; | ||
}</syntaxhighlight> | }</syntaxhighlight> | ||
+ | === Classes === | ||
+ | <syntaxhighlight lang="cpp"> | ||
+ | class Console { | ||
+ | private: | ||
+ | |||
+ | public: | ||
+ | Console(); | ||
+ | ~Console(); | ||
+ | } | ||
+ | </syntaxhighlight> | ||
=== Variable Naming === | === Variable Naming === | ||
+ | Lower Camel Case | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
− | + | curPos | |
− | + | setPos | |
− | + | row | |
− | + | col | |
− | |||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 13:51, 13 June 2013
Modify this page to the needs of your team.
OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources
Contents
Repository
Master Status
- Master (last pushed/being pushed) by Terry
- Styled Initial Code
Announcements
Programming Style
Indentation
- Indents made with tabs
- Tab size is four characters
Blocks
int main(){
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;
}
return 0;
}
Classes
class Console {
private:
public:
Console();
~Console();
}
Variable Naming
Lower Camel Case
curPos
setPos
row
col
Team Members
Add table rows by replacing sample table row, cell values with yours
First Name | Last Name | Section | Seneca Id & email | wiki id | IRC nick | GITHUB ID | Blog URL |
---|---|---|---|---|---|---|---|
Drew Terrance | Kerr | A | dtkerr | Drew Terrance Kerr | Praefractus | TerryKerr | dtkerr |