Difference between revisions of "OOP344 20131-NIU"
(→Programming Style) |
|||
Line 4: | Line 4: | ||
== Programming Style == | == Programming Style == | ||
+ | '''1. Indentation''' | ||
+ | * Four spaces or a tab | ||
+ | |||
+ | |||
+ | '''2. Blocks''' | ||
+ | <syntaxhighlight lang="cpp"> | ||
+ | if(something) | ||
+ | |||
+ | { | ||
+ | |||
+ | abc = xyz; | ||
+ | |||
+ | while(abc == 0) | ||
+ | |||
+ | { | ||
+ | |||
+ | printf("What is this?\n"); | ||
+ | |||
+ | } | ||
+ | |||
+ | return abc; | ||
+ | |||
+ | } | ||
+ | |||
+ | </syntaxhighlight> | ||
== Team Members == | == Team Members == |
Revision as of 22:53, 14 February 2013
OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources
NIU(Team 1)
Programming Style
1. Indentation
- Four spaces or a tab
2. Blocks
if(something)
{
abc = xyz;
while(abc == 0)
{
printf("What is this?\n");
}
return abc;
}
Team Members
First Name | Last Name | Team Name | Section | Seneca Id | wiki id | IRC nick | GITHUB ID | Blog URL |
---|---|---|---|---|---|---|---|---|
Xin | Li | NIU | A | xli206 | Xin Li | Xin12 | steven5736 | Xin's Blog |
Wei | Wang | NIU | A | wwang125 | Wei Wang | weiwang | wangwei2009727 | Wei's blog
|
Chen | Zang | NIU | B | czang1 | czang1 | Johnson | czang1 | Chen's Blog |