Changes

Jump to: navigation, search

Team !YOU - Discussions

3,274 bytes added, 03:29, 12 February 2010
m
adding coding help section and posting problem
= Open Discussions =
Current open discussions
 
== Committing Practices ==
When many people work together on the same project, ideally only a couple of them are responsible for committing the code. Although our team has only 8 members, it is probably a good idea to give the committing responsibility to only one or two members at once. Fardad has suggested that we rotate this responsibility, and I think we should try that. To make it possible, I have thought of a way to make it work.
 
* Each week two of us are responsible for committing. The order we alternate this role could be random, or we could go down the team member list as we did for dividing the simple functions among us.
 
* Join our IRC room before committing. Even with svn's merging capabilities, it is easier if two people can talk to each other if they happen to be committing at the same time.
 
* If you finished something in your branch that is worth committing but it's not your turn to commit yet, create a discussion on this page with your name and the files you worked on. That way we can all check your work on your branch and comment possible changes here. Once everyone has looked at it, one of the committers can finish the job.
 
* Always document your commits, so we have some control in case something goes wrong.
 
Please add you comments to this suggestion.
 
===Committing Agreement===
Here is the result of discussion on "Committing"
#How often
#*Every Monday that we have our weekly IRC meeting, those people who are in charge of committing for that week,will be in the meeting to make sure there isn't anything wrong with the codes and will commit them right away.
#Who
#*We will go by the order of the team's member list. Every week, 2 members are responsible for committing.
#How
#*Those people that are done with their part of code, will upload their code with their name and their files in the [http://zenit.senecac.on.ca/wiki/index.php/Team_!YOU_-_Codes Codes' snippet] page, and will let everybody else know that they have finished - in case somebody wanted to comment any changes.
<br/>
{| class="wikitable" border="1"
|+ Committing Schedule
! Commit-er member !! Date !! Date
|-
| MattAdams || ||
|-
| tjcatibog || ||
|-
| CDNPadawan || ||
|-
| fmDeOliveira || ||
|-
| ammisko || ||
|-
| nsimmalavong || ||
|-
| award || ||
|-
| Minooz || ||
|}
<br/>
 
 
= Coding Help =
An area for working out problems with code.
 
== (ammisko) Problem Compiling With bio_init(); ==
I am having a problem getting my project code to compile in VCC and BCC. My main looks like...
 
main(){
bio_init();
int i = 0; /* line 58 */
printf("Press a key to return its key code, or press esc to exit loop.\n\n");
while (i != 27){
i = bio_getch();
printf("Key Code Returned: %d\n", i);
}
bio_end();
return 0;
}
 
I have also included <stdio.h> higher up in the biomain.c
 
 
When I attempt to compile the above code I get an error message like (this is VCC):
 
g:\school\oop344\prj_trunk\biomain.c(58) : error C2143: syntax error : missing ';' before 'type'
 
 
If I comment out bio_init(); in the main, the program compiles fine and runs exactly like it should. The code is in my branch if you want to see the whole thing.
 
 
{| class="wikitable" border="1"
|+
! Name !! Comment
|-
| ammisko || Anyone have any ideas?
|}
 
 
 
= Old Discussions =
1
edit

Navigation menu