Open main menu

CDOT Wiki β

Changes

Team Mighty Morphin Coding Rangers - OOP344

185 bytes added, 17:00, 19 February 2010
Add a online disk link, Microsoft SkyDrive
[{{OOP344 Index}}
__TOC__
 
 
== A1 Function assignment ==
{| class="wikitable sortable" border="1" cellpadding="5"
 
! Last Name !! Name !! Branches in workspace !! Simple Function(s) !! Complex Function(s)
|-
 
| Chau|| Sunny|| ScsC workspace || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#void_bio_move.28int_r.2C_int_c.29 bio_move] - Committed to trunk|| [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#Line_Editor:_int_bio_edit.28.........29 bio_edit]
|-
 
| Cheung|| Christopher|| cgcheung workspace || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#void_bio_clrscr.28void.29 bio_clrscr] || ~
|-
| Huang|| Dachuan|| Dachuan workspace || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#void_bio_flush.28void.29 bio_flush] - Committed to trunck||
| Huang|| Dachuan|| Dachuan workspace || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#void_bio_flush.28void.29 bio_flush] - Committed to trunck||  [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#void_bio_displayMenuItem.28...........29 bio_displayMenuItem] - Committed to trunk
[http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#Line_Editor:_int_bio_edit.28.........29 bio_edit] - Committed to trunk (my part)
|-
 
| John-Sandy|| Anastasia|| ~ || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#int_bio_cols.28void.29 bio_cols] - Committed to trunk || ~
|-
 | Oberes|| Donna|| Daoberes workspace || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#int_bio_rows.28void.29 bio_rows] - Committed to trunk <br/> [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_%28AS1%29_-_OOP344#int_bio_getch.28void.29 bio_getch] - Committed to trunk || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#Line_Editor:_int_bio_edit.28.........29 bio_edit] - Validation logic for *offset, *curpos, & *offset = NULL *DONE*; Before editing begins, if *curpos & *offset have invalid values; Validation of positions that *curpos is never allowed to take; switch cases remaining
|-
 
| Wang|| Cong|| ~ || ~ || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#void_bio_display.28const_char_.2Astr.2C_int_row.2C_int_col.2C_int_len.29 bio_display]/[http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#void_bio_displayflag.28...........29 bio_displayflag]
|-
| Wang|| Shengwei|| Shengwei workspace || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#void_bio_putstr.28const_char_.2As.29 bio_putstr] - Committed to trunk||
| Wang|| Shengwei|| Shengwei workspace || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#void_bio_putstr.28const_char_.2As.29 bio_putstr] - Committed to trunk||
[http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#int_bio_menuItem.28...........29 bio_menuItem] Committed to trunk <font color='blue'>bio_putint</font> Committed to trunk
|-
 | Xue|| Yong|| Yong workspace || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#void_bio_putch.28int_c.29 bio_putch] || [http://zenit.senecac.on.ca/wiki/index.php/BIOF_20101_(AS1)_-_OOP344#int_bio_flag.28...........29 bio_flag()]  
|}
<li>Declare each variable at the beginning of blocks.</li>
<code>
Eg.  
main () {
int length = 0; // correct, at the beginning of the block ... ... int flag = 1; // incorrect, at the middle of the block if ( length = 0) { int i = 0; // correct, at the beginning of the block ... ... bool valid = true; // incorrect, at the middle of the block } return 0;}  
</code>
 
<li>Declare each variable in a line by itself. It is easier to comment a variable this way. Do not use commas to separate the variable names if they have the same data type.</li>
<code>
main () { <br/><br/>
int x; //Notice the four spaces over <br/> int y; <br/><br/> for (x = 0, y = 10; x < 10 && y >0; x++, y++) { <br/>
printf("x is %d, y is %d\n", x, y); <br/> printf("The sum of x and y is %d\n", x + y); <br/> if (x == 5) <br/> printf("We've reached the halfway point!\n"); //Moved four spaces over again } <br/><br/> printf("Hello, world!\n"); <br/>
} <br/>
</code>
Feb 4, 2010 - Committed my bio_rows to trunk. I ran into a few troubles while compiling, the biggest being Borland. Never used this compiler before. The frustrating part, after fixing all of my mistakes, is forgetting to take note of what went wrong so that I know how to fix it in the future. However, as far as I can recall, some of the biggest problems were:
<ul>
<li>Having to include -IC:\Borland\BCC55\Include \LC:\Borland\BCC55\Lib during compilation. <li>Empty parameters in the function prototypes (in biof.h) actually needed the word "void" rather than just leaving them empty. (I just checked the function prototypes in the biof.c file, and some of them <i>are</i> empty. However, fixing just the .h file was enough). For some reason, they're as good as being not prototyped.
</ul>
There was something hinky about visual c++, too, but I forget now. I'll keep it in mind for next time. <br/>
{| class="wikitable sortable" border="1" cellpadding="5"
 
! Last Name !! Name !! Seneca Username !! Section !! Blog Url !! IRC Nick !! SVN ID !! My Contributions !! Role !! Alternative Email Address
|-
 
| Chau|| Sunny|| [mailto:schau5@learn.senecac.on.ca?subject=OOP344 schau5]|| B || [http://s2000c.blogspot.com/ Blog] || ScsC|| TBA || [[Special:Contributions/schau5| Contributions]] || The Experienced Guy || ~
|-
 
| Cheung|| Christopher|| [mailto:cgcheung@learn.senecac.on.ca?subject=OOP344 cgcheung] || B || http://rocketpants.blog.ca/ || Rocketpants || n/a || [[Special:Contributions/cgcheung | Contributions]] || Team Contact || ~
|-
 
| Huang|| Dachuan|| [mailto:dhuang18@learn.senecac.on.ca?subject=OOP344 dhuang] || B || [http://hdc23.wordpress.com/ Blog] || Da_Truth || dhuang18 || [[Special: Contributions/dhuang18 | Contributions]] || Team Contact || [mailto:dachuan.huang@gmail.com Email]
|-
 
| John-Sandy|| Anastasia|| [mailto:ajohn-sandy@learn.senecac.on.ca?subject=OOP344 ajohn-sandy] || B || http://anastasiasaurus.blogspot.com || annieJS || ajohn-sandy || [[Special:Contributions/ajohn-sandy| Contributions]] || Team Contact || annieJS@gmail.com
|-
 
| Oberes|| Donna|| [mailto:daoberes@learn.senecac.on.ca?subject=OOP344 daoberes] || B || [http://donna-oberes.blogspot.com Blog] || Donna_Oberes || n/a || [[Special:Contributions/daoberes| Contributions]] || De-Facto Leader || ~
|-
 
| Wang|| Cong|| [mailto:Cwang84@learn.senecac.on.ca?subject=OOP344 Cwang84] || A || http://wangcong422.blogspot.com/ || cwang84 || n/a || [[Special:Contributions/cwang84 | Contributions]] || Team Contact || ~
|-
 
| Wang|| Shengwei|| [mailto:swang94@learn.senecac.on.ca?subject=OOP344 swang94] || A || http://shengwei-seneca.blogspot.com/ || Shengwei || swang94 || [[Special:Contributions/swang94 | Contributions]] || Team Contact || [mailto:wangshengwei.ca@gmail.com Email]
|-
 
| Xue|| Yong|| [mailto:yxue11@learn.senecac.on.ca?subject=OOP344 yxue11] || B || http://yxue11.blogspot.com/ || yxue11 || n/a || [[Special:Contributions/yxue11| Contributions]] || Team Contact || ~
|-
 
| ~ || ~ || [mailto:yxue11@learn.senecac.on.ca,swang94@learn.senecac.on.ca,Cwang84@learn.senecac.on.ca,daoberes@learn.senecac.on.ca,ajohn-sandy@learn.senecac.on.ca,dhuang18@learn.senecac.on.ca,cgcheung@learn.senecac.on.ca,schau5@learn.senecac.on.ca?subject=OOP344__MM_Coding_Rangers, e-mail all @ once] || ~ || ~ || ~ || ~ ||~ ||~ || ~
|-
 
|}
''(COMPLETED)''<br/>
<br/>
 
== Microsoft SkyDrive ==
We can put some useful files here.
* It's 25GB space, and the max size of a file which can be uploaded is 50MB.
* All files can be set a certain permissions to allow different kinds of access.
 
[http://skydrive.live.com/ SkyDrive ]
<br />
ID: oop344_101rep4(same name as the repository)
<br />
PW: rangers
1
edit