Difference between revisions of "Team G - OOP344 - 20132"

From CDOT Wiki
Jump to: navigation, search
(Programming Style)
(Announcements)
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
=== Master Status ===
 
=== Master Status ===
 
* Master ('''last pushed/being pushed''') by ''Kevin Sidhu''
 
* Master ('''last pushed/being pushed''') by ''Kevin Sidhu''
 +
** R.01 Passes all tests
 +
** Ugly code, Need to refine
  
 
== Announcements ==
 
== Announcements ==
 +
 +
<u>Kevin</u>
 +
<br>CLineEdit
 +
<br>CValEdit
 +
<br>CDialog
 +
<br>CText
 +
<br>CMenu
 +
 +
<u>Zhun Xue</u>
 +
<br>CButton
 +
<br>CLabel
 +
<br>CMenuItem
 +
<br>CCheckMark
 +
<br>CheckList
 +
 
== Programming Style ==
 
== Programming Style ==
  
 
=== Spaces ===
 
=== Spaces ===
* 1 space between keyword(if, do, while, for), the condition braces, and the {
+
* 1 space between keyword (if, do, while, for), the condition braces, and the {
 +
 
 
=== Indentation ===
 
=== Indentation ===
 
* 2 spaces for indentation
 
* 2 spaces for indentation
Line 85: Line 103:
 
|[[User:Kevin Sidhu | Kevin]]|| Sidhu ||B||[mailto:kssidhu1@myseneca.ca?subject=oop344- kssidhu1]||[[Special:Contributions/Kevin Sidhu|Kevin Sidhu]]||Coios||Coios|| [http://ksidhucode.blogspot.ca/
 
|[[User:Kevin Sidhu | Kevin]]|| Sidhu ||B||[mailto:kssidhu1@myseneca.ca?subject=oop344- kssidhu1]||[[Special:Contributions/Kevin Sidhu|Kevin Sidhu]]||Coios||Coios|| [http://ksidhucode.blogspot.ca/
 
  Kevin Codes
 
  Kevin Codes
|-
 
|[[User:WikiID | first name]]|| last name ||A||[mailto:EmailId@myseneca.ca?subject=oop344- EmailId]||[[Special:Contributions/Wiki ID|Xin Li]]||IRC ID||Github ID|| [http://YourBlogURL
 
Blog Name]
 
 
|-
 
|-
 
|[[User:WikiID | first name]]|| last name ||A||[mailto:zxue3@myseneca.ca?subject=oop344- EmailId]||[[Special:Contributions/Wiki ID|Zhun Xue]]||IRC ID||Github ID|| [http://YourBlogURL
 
|[[User:WikiID | first name]]|| last name ||A||[mailto:zxue3@myseneca.ca?subject=oop344- EmailId]||[[Special:Contributions/Wiki ID|Zhun Xue]]||IRC ID||Github ID|| [http://YourBlogURL

Latest revision as of 20:45, 16 July 2013

Modify this page to the needs of your team.
OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources

Repository

Master Status

  • Master (last pushed/being pushed) by Kevin Sidhu
    • R.01 Passes all tests
    • Ugly code, Need to refine

Announcements

Kevin
CLineEdit
CValEdit
CDialog
CText
CMenu

Zhun Xue
CButton
CLabel
CMenuItem
CCheckMark
CheckList

Programming Style

Spaces

  • 1 space between keyword (if, do, while, for), the condition braces, and the {

Indentation

  • 2 spaces for indentation
  • Do not use tab character

Blocks

  • If statement (short one-line statement):
if (condition) doSomething();  // space between if and ( )
  • If statement (multi-line or long one line statement):
if (condition) {  // space between if ( ) and {
  // do something // use this for short one-line statements if you'd like
}
  • If else statement:
if (condition) {
  // do something
} else if (condition) {  // notice spaces
  // do something
} else {  // if else statements always use blocks even with short one line statements
  // do something
}
  • While statement (short one line statements):
while (condition) doSomething();  //notice spaces

OR:

while (condition) {
  // do something
}
  • Function declaration:
void doSomething(int arg1, char arg2) {  //notice spaces
  // do something
}

Variable Naming

int main() {
  int a = 1;
  char* bookNames;
  char bookId
  return 0;
}
  • Try to avoid abbreviations unless very well known please:
int main() {
  int letterCount // Good
  int numCount    // Good
  int ltrCnt      // Bad

  int numErrors   // Good
  int n           // Bad - unknown meaning
  int nerr        // Bad - ambiguous
}

Team Members

Add table rows by replacing sample table row, cell values with yours

OOP344 - Team name
First Name Last Name Section Seneca Id & email wiki id IRC nick GITHUB ID Blog URL
Kevin Sidhu B kssidhu1 Kevin Sidhu Coios Coios [http://ksidhucode.blogspot.ca/
Kevin Codes
first name last name A EmailId Zhun Xue IRC ID Github ID [http://YourBlogURL

Blog Name]

Discussions