Thursday, December 31, 2009

OOP344 assignment 2 got help from other team

I checked other teams' wiki and found a lot of teams have already finished this assignment.
So I ask other team members who were doing the same part IO_Edit and IO_Vedit for help.
A lot of people replied me and I got a lot of help.
Here, I want to thank Ausley Lettroy Johnson, Anton Chan, Justin Robertson, Armin Kumarshellahand and Demosthenes Denny Papagiannidis. Especially Demosthenes Denny Papagiannidis.
I will tell this story to my team members who haven't finished the assignment to ask for help from other teams.

Monday, December 28, 2009

OOP344 - find a useful tool for tracking bugs.

Bite team introduced a useful tool for tracking bugs - https://bite.fogbugz.com/.
I checked it. It looks like a forum, but each column has special meaning, like case,title,status,opened by,remaining time,priority.
I can use it for my future projects.
for example: I'm testing a website functions. If I found a bug, I write it in the forum, I just continue writing. After several days, I come back to check if all those bugs are fixed or not. If it is fixed, I close it.
If I'm a programmer, I just login the forum, check each notes, fix them one by one, and leave response there.

OOP344 - use svn at seneca@york

If you don't bring a notebook to school everyday, and you want to use lab computer to do assignment2 or review oop344 notes, you need svn. But lab computers don't have svn.
I find a software called sharpsvn is very useful. No graphic interface, no need to install.
what I do is :
1. download the .7z file from my gmail account draft folder. (I just uploaded it to my web server, you can use 7-zip or winrar to unzip it. This one I used winrar to compress, about 8M. Because my web server don't know .7z files. If you use 7-zip to compress it again, it will be 4M.)
2. unzipped it to c:\temp for an example.
3. run cmd and in dos command type cd c:\temp\sharpsvn
4. type svn export svn://zenit.senecac.on.ca/oop344 c:\temp\oop344
5. type username and password
6. all files will be extract to c:\temp\oop344 folder
I use this way to review oop344 notes at school lab computers. It helped me a lot.
Hope it will help you too.

OOP344 - How do I use SVN at home

After using the svn, I found some difficulties when I update other person's files.
I may have changed something in other person's part. Other person may not agree that. After I did a SVN update, what I have wrote for other person's are gone.
What I'm doing now is:
1. make a copy of the svn folder.
2. I do everything in the copied folder.
3. After I have done the changes, I copy my part code to the svn folder, and do a submit on my part code only.
4. Then I do a SVN update, merge other person's code manully one by one to my copied folder.
5. Then I continue debug the project in the copied folder.
6. repeat from step 3 to 5 until the project finished.

Thursday, December 24, 2009

OOP344 Assignment 2

I'm working on IO_Edit and IO_Vedit.
IO_Vedit inherite IO_Edit.
How about those ~IO_Vedit(), IO_Vedit::display(), IO_Vedit::set(const void *str), IO_Vedit::editable() const? Do I need to write something there?
or just call ~IO_Edit(), IO_Edit::display(), IO_Edit::set(const void *str), IO_Edit::editable() const?
What do I need to do in void (*_Help)(MessageStatus, IO_Form&), bool (*_Validate)(const char*, IO_Form&)?
Thanks ahead.