Difference between revisions of "Pineapple 20131 - OOP344"

From CDOT Wiki
Jump to: navigation, search
(Coding Style)
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
== Project Marking Percentage ==
 
== Project Marking Percentage ==
* due immediately 2/19/2013
 
<big>
 
Group work:      40%        (25 <= xx <= 50)
 
Individual work: 60% +      (50 <= xx <= 75)
 
-------------------------
 
Total          100%
 
</big>
 
  
 
== Repository ==
 
== Repository ==
Line 15: Line 8:
  
 
== Coding Style ==
 
== Coding Style ==
 +
 +
'''Indentation'''
 +
 +
* 4 spaces
 +
 +
'''Blocks'''
 +
 +
* Place the brackets like this
 +
 +
<syntaxhighlight lang="cpp">
 +
int main() {
 +
    int a;
 +
    int b;
 +
    if (a == b) {
 +
        cout << "good" << endl;
 +
    }
 +
}
 +
</syntaxhighlight>
 +
 +
'''Variable Naming'''
 +
 +
* The first word start with lowercase, and the rest start with uppercase
 +
 +
<syntaxhighlight lang="cpp">
 +
char* firstName;
 +
char* lastName;
 +
int age;
 +
</syntaxhighlight>
 +
 +
We will also follow Fardad's rules for proper code
 +
 +
<syntaxhighlight lang="cpp">
 +
int a; // good
 +
int b; // good
 +
int a, b. c; //bad
 +
int
 +
    a; // bad
 +
Single line blocks must be surrounded by { and }
 +
if(whatever){
 +
  do this:
 +
} // good
 +
if(whatever) do this; //bad
 +
  if(whatever)
 +
  do this; // bad
 +
 +
</syntaxhighlight>
  
 
== Team Members ==
 
== Team Members ==
 +
[mailto:kpersaud16@myseneca.ca;jgrice@myseneca.ca;gklo@myseneca.ca;zzhou33@myseneca.ca;?subject=oop344 Email to all members]
 +
 
{| class="wikitable sortable" border="1" cellpadding="5"
 
{| class="wikitable sortable" border="1" cellpadding="5"
 
! First Name !! Last Name  !! Section !! Seneca ID !! Wiki ID !! IRC nick !! Github ID !! Blog URL
 
! First Name !! Last Name  !! Section !! Seneca ID !! Wiki ID !! IRC nick !! Github ID !! Blog URL
Line 26: Line 67:
 
|Glaser King San||Lo|||B||[mailto:gklo@myseneca.ca?subject=oop344 gklo]||[[Special:Contributions/Glaser King San Lo|Glaser King San Lo]]||gklo||gklo|| [http://glpool.blogspot.ca Glaser's Pool]
 
|Glaser King San||Lo|||B||[mailto:gklo@myseneca.ca?subject=oop344 gklo]||[[Special:Contributions/Glaser King San Lo|Glaser King San Lo]]||gklo||gklo|| [http://glpool.blogspot.ca Glaser's Pool]
 
|-
 
|-
 
 
|Zhijian||Zhou|||B||[mailto:zzhou33@myseneca.ca?subject=oop344 zzhou33]||[[Special:Contributions/Zhijian Zhou|Zhijian Zhou]]||zzhou33||Gianzhou|| [http://opp344.blogspot.ca/ Zhijian's blog]
 
|Zhijian||Zhou|||B||[mailto:zzhou33@myseneca.ca?subject=oop344 zzhou33]||[[Special:Contributions/Zhijian Zhou|Zhijian Zhou]]||zzhou33||Gianzhou|| [http://opp344.blogspot.ca/ Zhijian's blog]
 
|-
 
|-

Latest revision as of 02:25, 15 February 2013


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

Pineapple (Team 4)

Project Marking Percentage

Repository

Coding Style

Indentation

  • 4 spaces

Blocks

  • Place the brackets like this
int main() {
    int a;
    int b;
    if (a == b) {
        cout << "good" << endl;
    }
}

Variable Naming

  • The first word start with lowercase, and the rest start with uppercase
char* firstName;
char* lastName;
int age;

We will also follow Fardad's rules for proper code

 int a; // good
 int b; // good
 int a, b. c; //bad
 int
    a; // bad
 Single line blocks must be surrounded by { and }
 if(whatever){
  do this:
 } // good
 if(whatever) do this; //bad
  if(whatever)
  do this; // bad

Team Members

Email to all members

First Name Last Name Section Seneca ID Wiki ID IRC nick Github ID Blog URL
Kevin Persaud B kpersaud16 Kevin Persaud gsoul persaud Kevin's Blog
Justin Grice B jgrice Justin Grice JGrice JGrice Justin's Blog
Glaser King San Lo B gklo Glaser King San Lo gklo gklo Glaser's Pool
Zhijian Zhou B zzhou33 Zhijian Zhou zzhou33 Gianzhou Zhijian's blog

Status and Issues

Discuss

Meet ups