Difference between revisions of "Team !YOU - OOP344"

From CDOT Wiki
Jump to: navigation, search
m ((Discussion: Use of iterating variables on for loops): Added feedback)
m (adding name to skype list)
 
(83 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 +
{{OOP344 Index}}
 
This is Team !YOU's Project Page
 
This is Team !YOU's Project Page
  
Line 4: Line 5:
  
  
== Team Members ==
+
== <big>Team Members</big> ==
 
{| class="wikitable sortable" border="1" cellpadding="5"
 
{| class="wikitable sortable" border="1" cellpadding="5"
|+ OOP344 - 2010 Team !YOU
+
|+ OOP344 - 2010 Team !YOU -
 +
 
 +
[mailto:mdadams1@learn.senecac.on.ca,mddaniels@learn.senecac.on.ca,fmdeoliveira@learn.senecac.on.ca,ammisko@learn.senecac.on.ca,amward1@learn.senecac.on.ca,mziaei1@learn.senecac.on.ca,nsimmalavong@learn.senecac.on.ca,tjcatibog@learn.senecac.on.ca  Email All]
 
! Last Name !! Name !! Seneca ID !! Section !! Blog URL !! IRC nick !! My Contributions
 
! Last Name !! Name !! Seneca ID !! Section !! Blog URL !! IRC nick !! My Contributions
 
|-
 
|-
| Adams|| [http://zenit.senecac.on.ca/wiki/index.php/User:Mdadams1 Matthew]|| [mailto:mdadams1@learn.senecac.on.ca mdadams1]|| A || http://www.tandemwebdesign.ca/blog || MattAdams|| [[Special:Contributions/mdadams1 | Contributions]]
+
| (A)Adams|| [http://zenit.senecac.on.ca/wiki/index.php/User:Mdadams1 Matthew]|| [mailto:mdadams1@learn.senecac.on.ca mdadams1]|| A || http://www.tandemwebdesign.ca/blog || MattAdams|| [[Special:Contributions/mdadams1 | Contributions]]
 
|-
 
|-
| Catibog|| [http://zenit.senecac.on.ca/wiki/index.php/User:Tjcatibog Timothy]|| [mailto:tjcatibog@learn.senecac.on.ca tjcatibog]|| A|| http://tjprogramming.blogspot.com/ || tjcatibog|| [[Special:Contributions/tjcatibog | Contributions]]
+
| (A)Catibog|| [http://zenit.senecac.on.ca/wiki/index.php/User:Tjcatibog Timothy]|| [mailto:tjcatibog@learn.senecac.on.ca tjcatibog]|| A|| http://tjprogramming.blogspot.com/ || tjcatibog|| [[Special:Contributions/tjcatibog | Contributions]]
 
|-
 
|-
 
| Daniels|| [http://zenit.senecac.on.ca/wiki/index.php/User:Mddaniels Matthew]|| [mailto:mddaniels@learn.senecac.on.ca?subject=OOP344 mddaniels]|| A || http://cdnpadawan.wordpress.com/ ||  CDNPadawan || [[Special:Contributions/mddaniels | Contributions]]
 
| Daniels|| [http://zenit.senecac.on.ca/wiki/index.php/User:Mddaniels Matthew]|| [mailto:mddaniels@learn.senecac.on.ca?subject=OOP344 mddaniels]|| A || http://cdnpadawan.wordpress.com/ ||  CDNPadawan || [[Special:Contributions/mddaniels | Contributions]]
 
|-
 
|-
| De Oliveira|| [http://zenit.senecac.on.ca/wiki/index.php/User:fmdeoliveira Felipe]|| [mailto:fmdeoliveira@learn.senecac.on.ca fmdeoliveira]|| A || http://feliploko.wordpress.com/  || fmDeOliveira  || [[Special:Contributions/fmdeoliveira | Contributions]]
+
| (A)De Oliveira|| [http://zenit.senecac.on.ca/wiki/index.php/User:fmdeoliveira Felipe]|| [mailto:fmdeoliveira@learn.senecac.on.ca fmdeoliveira]|| A || http://feliploko.wordpress.com/  || fmDeOliveira  || [[Special:Contributions/fmdeoliveira | Contributions]]
 
|-
 
|-
| Misko|| [http://zenit.senecac.on.ca/wiki/index.php/User:ammisko Andrew]|| [mailto:ammisko@learn.senecac.on.ca ammisko]|| A || http://ammisko.blogspot.com  || ammisko  || [[Special:Contributions/ammisko | Contributions]]
+
| (A)Misko|| [http://zenit.senecac.on.ca/wiki/index.php/User:ammisko Andrew]|| [mailto:ammisko@learn.senecac.on.ca ammisko]|| A || http://ammisko.blogspot.com  || ammisko  || [[Special:Contributions/ammisko | Contributions]]
 
|-
 
|-
 
| Simmalavong|| [http://zenit.senecac.on.ca/wiki/index.php/User:nsimmalavong Niki]|| [mailto:nsimmalavong@learn.senecac.on.ca nsimmalavong]|| A || http://oop344-niki.blogspot.com/ || nsimmalavong || [[Special:Contributions/nsimmalavong | Contributions]]
 
| Simmalavong|| [http://zenit.senecac.on.ca/wiki/index.php/User:nsimmalavong Niki]|| [mailto:nsimmalavong@learn.senecac.on.ca nsimmalavong]|| A || http://oop344-niki.blogspot.com/ || nsimmalavong || [[Special:Contributions/nsimmalavong | Contributions]]
 
|-
 
|-
| Ward||  [http://zenit.senecac.on.ca/wiki/index.php/User:Amward1 Amy]|| [mailto:amward1@learn.senecac.on.ca amward1]|| A || http://amward1.wordpress.com/ || award|| [[Special:Contributions/amward1 | Contributions]]
+
| (A)Ward||  [http://zenit.senecac.on.ca/wiki/index.php/User:Amward1 Amy]|| [mailto:amward1@learn.senecac.on.ca amward1]|| A || http://amward1.wordpress.com/ || award|| [[Special:Contributions/amward1 | Contributions]]
 
|-
 
|-
| Ziaei|| [http://zenit.senecac.on.ca/wiki/index.php/User:Mziaei1 Minoo] || [mailto:mziaei1@learn.senecac.on.ca mziaei1]|| A || http://minooz.wordpress.com/ || Minooz || [[Special:Contributions/mziaei1 | Contributions]]
+
| (A)Ziaei|| [http://zenit.senecac.on.ca/wiki/index.php/User:Mziaei1 Minoo] || [mailto:mziaei1@learn.senecac.on.ca mziaei1]|| A || http://minooz.wordpress.com/ || Minooz || [[Special:Contributions/mziaei1 | Contributions]]
 
|-
 
|-
 
|}
 
|}
  
 +
== <big>Discussions</big> ==
 +
Please visit the [http://zenit.senecac.on.ca/wiki/index.php/Team_!YOU_-_Discussions Discussion Page] often, so we can share resources and opinions with others in between our weekly meetings.
  
== IRC ==
 
Our IRC channel is #oop344_!you on freenode. Please join the channel whenever you are on IRC.
 
  
=== IRC Meetings ===
+
== <big>Skype</big> ==
We need to decide when we should have our meetings.
+
 
 +
{| class="wikitable sortable" border="1" cellpadding="5"
 +
|+ Skype Name
  
{| class="wikitable" border="1"
+
! Name !! SkyName
|+ Discussion
+
|-
! Name !! Comment
+
| Matthew Adams || matt_adams21
 +
|-
 +
| Amy Ward || AmyWard11
 +
|-
 +
| Minoo Ziaei || mziaei53
 +
|-
 +
| Timothy Catibog || jordyy.catibog
 
|-
 
|-
| fmDeOliveira || Evenings work better for me... It is hard to find some time in the morning or afternoon that all or most of us are able to be on IRC.
+
| Felipe de Oliveira || feliploko
 
|-
 
|-
| ammisko || Evening are also good for me.  I don't have class later than 320 every day. As long as I know a few days in advance I shouldn't have a problem with meeting any time after 320.
+
| Andrew Misko || ammisko
 
|-
 
|-
  
| MattAdams || Evening is probably better, because that is when I do all of my programming. I normally work from Thursday to Sunday, so early week is better for me.
+
|}
  
|-
+
== <big>IRC</big> ==
|}
+
Our IRC channel is #oop344_!you on freenode. Please join the channel whenever you are on IRC.
  
== Team Programming Standards ==
+
The channel is restricted to Fardad and the team members. There is an access list that will automatically kick and ban anyone not listed. For this reason, we should always make sure we are using our official IRC nicks (or one within our nick group) and that we are identified with the nickserv (/nickserv identify ''mypassword'') before issuing the join command.
An area for listing our teams programming standards that we will use when constructing the project. Please follow these rules when writing code for this project. This will make it easier for us to help each other and collaborate in the whole process.
 
  
=== Declare only one variable in each line. ===
+
If you are getting a message that you are banned on our channel, make sure you are identified and then issue the command
This makes it easier to scan the code and find the type of a variable that you see somewhere else in the code.
 
  
Do:
+
   /chanserv unban #oop344_!you
   int a;
 
  int b = 0;
 
  int c = a;
 
  
Don't:
+
before trying to join again.
  int a, b = 0, c = a;
 
  
 +
=== [http://zenit.senecac.on.ca/wiki/index.php/Team_!YOU_-_IRC_Meetings IRC Meetings] ===
 +
Our first meeting was on Wednesday, January 27th, from 10pm to midnight. On the following weeks, we will meet regularly on Mondays from 8pm to 10pm.
  
=== Do not use tabs when indenting. ===
+
To view information about past or upcoming meetings, please visit [http://zenit.senecac.on.ca/wiki/index.php/Team_!YOU_-_IRC_Meetings http://zenit.senecac.on.ca/wiki/index.php/Team_!YOU_-_IRC_Meetings].
The tab space is interpreted different across different software and operating systems. Use normal spaces to add indentation instead.
 
  
====Indent Rule====
+
== <big>Team Programming Standards</big> ==
Please only indent to 4 spaces. If we all use the same indenting, when it comes to putting our code together it will looks the same.
+
An area for listing our teams programming standards that we will use when constructing the project. Please follow these rules when writing code for this project. This will make it easier for us to help each other and collaborate in the whole process.
<br /><br />
 
NOTE:
 
Most text editors have the option to change tabs to spaces, so you are still able to press the tab key, however it will convert it to spaces when the file is saved.
 
  
=== Put the pointer identifier(*) right after the target variable type. ===
+
=== [http://zenit.senecac.on.ca/wiki/index.php/Team_!YOU_-_Official_Standards Official Team !You Programming Standards] ===
Pointers are hard enough to deal with. It only makes it more complicated if they are declared differently throughout the code.
 
  
Do:
+
To view a list of our agreeded upon programming standards, please visit [http://zenit.senecac.on.ca/wiki/index.php/Team_!YOU_-_Official_Standards http://zenit.senecac.on.ca/wiki/index.php/Team_!YOU_-_Official_Standards].
  int* p1;
 
  char* p2;
 
  
Don't:
 
  int *p1;
 
  char *p2;
 
  
  
=== (Discussion: Use of iterating variables on for loops) ===
 
There are two major ways of dealing with the iteration variable on '''for''' loops. We should come to a consensus on how to deal with it on our project.
 
  
Option 1: Declare the variables outside the loop; initialize them inside the loop; keep their exit values for future use.
+
== <big>The Project</big> ==
  int i;                                // counter
 
  for (i = 0; i<5; i++) printf(".");    // Prints .....
 
  printf("%d",i);                      // Prints 5
 
  
Option 2: Declare and initialize variables inside the loop; lose the variable at the end of the loop scope;
+
An area for us to post information and links for our team project.
  for (int i = 0; i<5; i++) printf("."); // Once the loop is done, variable i cannot be accessed anymore.
 
  
{| class="wikitable" border="1"
+
=== [[Team !YOU - BIO Library | Basic Input Output Library]] ===
|+ Discussion
 
! Name !! Comment
 
|-
 
| fmDeOliveira || I definitely prefer option 2. It is much easier to keep recycling the loop variables without having to worry if they already exist or not. In case we need the value of the loop variable after the loop is done, we should just copy it to another variable before the end of the loop.
 
|-
 
| ammisko || I like option 1 better (I changed it a bit).  I think it looks cleaner and is much easier to read for someone who doesn't know what the code does (especially with comments).  Also what if we need to use a loop variable from outside the for loop?  Or if we need to use the first part of the for-loop for other code?  Option 1 could accommodate that better I think.
 
|-
 
  
| MattAdams || I like both ways. I use option1 when I need to use the counter for something else. And I use option2 when I need to right a quick for loop. As for a standard, I think option1 should be used, that way all of the variables are declared at the top of every function, and that way we don't have to copy the counter to another variable.
+
Our page for the basic input output library, the first part of our project.
  
|-
+
=== [[!You's OpText - OOP344 | OpText]] ===
|}
 
  
=== (Discussion: Variable names) ===
+
====Part1: [http://zenit.senecac.on.ca/wiki/index.php/Create_Class_Prototypes_-_!You_-_OOP344 Create Class Prototypes]====
How should we name the variables that we create on our project?
 
  
 +
====Part2: [http://zenit.senecac.on.ca/wiki/index.php/Code_all_member_functions_-_!You_-_OOP3444 Code all member functions]====
  
 +
====Part3: Code BForm functions====
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
|+ Discussion
+
|+ Class Member Functions
! Name !! Comment
 
|-
 
| fmDeOliveira || I suggest we avoid abbreviations, since what might be obvious for some could be confusing for others. Full words or short expressions could be used where the first letter is always lower case, and the first letter of the following words are upper case. Examples: cost, totalPrice, numberOfPeople.
 
|-
 
|}
 
 
 
 
 
=== (Discussion: Use of comments) ===
 
When should we use double slash (//) and when should we use slash-asterisk (/* */)?
 
  
 
+
! Tasks || Members Working On It !! Status !! Due Date
{| class="wikitable" border="1"
 
|+ Discussion
 
! Name !! Comment
 
 
|-
 
|-
| fmDeOliveira || I prefer using // for single-line comments and /* */ for blocks of commented code. This would avoid problems commenting out blocks of code that already have single-line comments (the end of the single-line comment would not be interpreted as the end of the block comment).
+
| BForm::edit || MattAdams || In Progress || -
 
|-
 
|-
|}
+
| BForm Constructor/Destructor || Minoo || committed || March 23, 2010 midnight
 
+
|-
 
+
| BForm::display() || Amy || committed || March 23, 2010 midnight
=== (Discussion: Indentation) ===
 
Something simple, but that should be standard for all pieces of the code.
 
 
 
 
 
{| class="wikitable" border="1"
 
|+ Discussion
 
! Name !! Comment
 
 
|-
 
|-
| fmDeOliveira || I usually put two spaces for a new indent, and keep a blank line between new big blocks of code and whatever comes before it (usually an if statement, a for loop, or the signature of a function).
+
| BForm::add() x2 || Timothy || committed || March 23, 2010 midnight
 
|-
 
|-
 +
| BForm::editable, fieldNum, curField, operator[] || Felipe || committed || March 23, 2010 midnight
 
|}
 
|}
  
 +
== <big>Helpful External Links</big> ==
  
=== (Discussion: Nesting) ===
+
[http://www.microsoft.com/express/Downloads/ Microsoft Visual Studio Express Edition Download]
How do we deal with else statements?
 
 
 
Option 1: else right after the end of the if block
 
  if (a > 0) {
 
    printf(".");
 
  } else {
 
    printf(",");
 
  }
 
 
 
Option 2: else on a line below the end of the if block
 
  if (a > 0) {
 
    printf(".");
 
  }
 
  else {
 
    printf(",");
 
  }
 
 
 
{| class="wikitable" border="1"
 
|+ Discussion
 
! Name !! Comment
 
|-
 
| fmDeOliveira || I prefer option 2.
 
|-
 
 
 
| MattAdams || Option 2 all the way.
 
 
 
|-
 
|}
 

Latest revision as of 21:15, 30 March 2010


OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources
This is Team !YOU's Project Page

You will find all project related information here


Team Members

OOP344 - 2010 Team !YOU - Email All
Last Name Name Seneca ID Section Blog URL IRC nick My Contributions
(A)Adams Matthew mdadams1 A http://www.tandemwebdesign.ca/blog MattAdams Contributions
(A)Catibog Timothy tjcatibog A http://tjprogramming.blogspot.com/ tjcatibog Contributions
Daniels Matthew mddaniels A http://cdnpadawan.wordpress.com/ CDNPadawan Contributions
(A)De Oliveira Felipe fmdeoliveira A http://feliploko.wordpress.com/ fmDeOliveira Contributions
(A)Misko Andrew ammisko A http://ammisko.blogspot.com ammisko Contributions
Simmalavong Niki nsimmalavong A http://oop344-niki.blogspot.com/ nsimmalavong Contributions
(A)Ward Amy amward1 A http://amward1.wordpress.com/ award Contributions
(A)Ziaei Minoo mziaei1 A http://minooz.wordpress.com/ Minooz Contributions

Discussions

Please visit the Discussion Page often, so we can share resources and opinions with others in between our weekly meetings.


Skype

Skype Name
Name SkyName
Matthew Adams matt_adams21
Amy Ward AmyWard11
Minoo Ziaei mziaei53
Timothy Catibog jordyy.catibog
Felipe de Oliveira feliploko
Andrew Misko ammisko

IRC

Our IRC channel is #oop344_!you on freenode. Please join the channel whenever you are on IRC.

The channel is restricted to Fardad and the team members. There is an access list that will automatically kick and ban anyone not listed. For this reason, we should always make sure we are using our official IRC nicks (or one within our nick group) and that we are identified with the nickserv (/nickserv identify mypassword) before issuing the join command.

If you are getting a message that you are banned on our channel, make sure you are identified and then issue the command

 /chanserv unban #oop344_!you 

before trying to join again.

IRC Meetings

Our first meeting was on Wednesday, January 27th, from 10pm to midnight. On the following weeks, we will meet regularly on Mondays from 8pm to 10pm.

To view information about past or upcoming meetings, please visit http://zenit.senecac.on.ca/wiki/index.php/Team_!YOU_-_IRC_Meetings.

Team Programming Standards

An area for listing our teams programming standards that we will use when constructing the project. Please follow these rules when writing code for this project. This will make it easier for us to help each other and collaborate in the whole process.

Official Team !You Programming Standards

To view a list of our agreeded upon programming standards, please visit http://zenit.senecac.on.ca/wiki/index.php/Team_!YOU_-_Official_Standards.



The Project

An area for us to post information and links for our team project.

Basic Input Output Library

Our page for the basic input output library, the first part of our project.

OpText

Part1: Create Class Prototypes

Part2: Code all member functions

Part3: Code BForm functions

Class Member Functions
Tasks Members Working On It Status Due Date
BForm::edit MattAdams In Progress -
BForm Constructor/Destructor Minoo committed March 23, 2010 midnight
BForm::display() Amy committed March 23, 2010 midnight
BForm::add() x2 Timothy committed March 23, 2010 midnight
BForm::editable, fieldNum, curField, operator[] Felipe committed March 23, 2010 midnight

Helpful External Links

Microsoft Visual Studio Express Edition Download