Difference between revisions of "OOP344 201314-Anonymous"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{OOP344 Index | 20131}}
 
{{OOP344 Index | 20131}}
== NIU(Team 1) ==
+
== Anonymous (14) ==
 
*Github:https://github.com/Seneca-OOP344/1-NIU
 
*Github:https://github.com/Seneca-OOP344/1-NIU
  
Line 9: Line 9:
 
== Programming Style ==
 
== Programming Style ==
 
'''1. Indentation'''
 
'''1. Indentation'''
* Four spaces or a tab
+
* Two spaces or half a tab
  
  
Line 15: Line 15:
 
'''2. Blocks'''
 
'''2. Blocks'''
 
<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>
Line 34: Line 35:
 
{
 
{
 
     int a = 1;
 
     int a = 1;
     char* bookNames;
+
     char* book_names;
    char bookId
 
 
     return 0;
 
     return 0;
 +
}
 +
 +
class _foo()
 +
 +
int foo();
 +
 +
int foo(char id,int x){
 +
 +
  _id=id;
 +
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 12:02, 22 February 2013


OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources

Anonymous (14)


Announcement

Programming Style

1. Indentation

  • Two spaces or half a tab


2. Blocks

if(something){

  abc = xyz;
  while(abc == 0){

    printf("What is this?\n");
  }
    return abc;

}


3. Variable Naming

int main()
{
    int a = 1;
    char* book_names;
    return 0;
}

class _foo()

int foo();

int foo(char id,int x){

  _id=id;

}

Team Members

OOP344 - NIU
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

Discussion