Difference between revisions of "OOP344 20131-NIU"
(→Programming Style) |
(→Programming Style) |
||
Line 12: | Line 12: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
if(something) | if(something) | ||
− | |||
{ | { | ||
− | |||
abc = xyz; | abc = xyz; | ||
− | |||
while(abc == 0) | while(abc == 0) | ||
− | |||
{ | { | ||
− | |||
printf("What is this?\n"); | printf("What is this?\n"); | ||
− | |||
} | } | ||
− | |||
return abc; | return abc; | ||
− | |||
} | } | ||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
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 |