Saturday, December 19, 2009

OOP344 Assignment 2 Implementation

With exams done at last, I can finally take a minute to write about OOP344 A2. We have decided to build a text editor, which keeps getting more complex each time we talk about it. I am currently writing a word wrapping feature for the text editor, that is taking longer than expected but it should be done soon enough, I am just hoping that I don't hurt the team with this little tangent I decided to follow.
The program is going to need a whole new batch of classes to work correctly, first the controller, which will actually control the program and will act as the programs root class, which will organize all the classes and access the programs menu manager, file manager, and settings classes, while containing all the forms and fields it requires. I am responsible for the controller, so that is my mess to figure out. The menu manager system controls the primary menu and holds a series of other menus and function pointers inside of it, so when a menu item is selected, it either displays another menu, or calls a function that will accomplish some task. This has already been completed by northWind, and he did it in such a way that adding, organizing and displaying menus is very simple, which makes my job of creating the controller a bit easier. The file manager allows the program to open, read, write and close files on the fly, this will allow the controller to access files more easily, this is being handled by Ausley. The settings will be a class of their own and this will allow a function based interface with all of the program settings, and quick access to all the setting variables, I think northWind wants to do this class as well. The rest of the work is still kinda up in the air, but we are planning on making specialized forms, a small button system, a highlighting system (which I plan on doing, if the dead line doesn't come up too quickly), copy, paste, ect. So, this is the plan, for everyone else planning on making a Text Editor program, see you at the finish line >:-D

Monday, December 14, 2009

Onward into the shadows

Well, this is the last week... I just woke up from a great little sleep and now its time to get ready and study for my INT322 exam that is in 6 hours. My biggest advice to anyone reading this, is make damn sure you have a good night's sleep before an exam, I really messed up some of my other tests because I simply didn't allow myself time to sleep. I plan on going over my previous two INT tests and writing out the two pre-tests we were given in the tutorials to hopefully get my self set for INT, then all I got left is DBS and I am gone.
I also wanted to post my opinions about the OOP344 exam here too. I have always hated the concept of a programming exam, essentially writing some small piece of junk code, in a short period of time. I have two methods of writing tests: take my time and write it correctly, but lose a bunch of marks at the end for questions I don't have time to answer, or write it quick and sloppy and finish all of the questions, but lose marks on questions answered incorrectly, often on purpose. I usually take the former method, but for the OOP344 exam I thought I'd try the latter, but it nearly killed me doing so, I intentionally wrote at least 3 questions completely wrong, simply because I knew I didn't have the time to write the whole thing out correctly, which is really infuriating, because I already know how it is supposed to be written, but I know my hands simply can't write fast enough to allow me to write it. For the save and load functions on the exam, I simply wrote something like 'f.write((char*)this, sizeof(queue);', I know how completely wrong this is, but I didn't have time to write it correctly. Exams should be short IMO, but w/e, its water under the bridge, or w/e that saying is.
I am gonna end this off with the OOP344 assignment, which is gonna be worked on through out the holiday so by the time it is time to hand it in, we have something that is actually worth something, an actual working text editor. Lets see how it goes.

Wednesday, December 9, 2009

The time of darkness draws near

So, the exam is in a few hours, and I just woke up from a beautiful 17 hours of sleep, and I am set and ready to do some last minute cramming. I will explain my studying plans each day for the next few days so anyone who doesn't know where to start will have a good idea, mind you, this will include all of my classes, not just OOP.
So, for tomorrow, I have SYS366 and OOP344, and I have a detailed plan already set. For SYS366, I will simply review my previous two tests, see what I did right and what I did wrong, then I will re-write it so that it matches what should be worth a perfect mark. That should take about two hours, and then I figure I am set for SYS366, for anyone reading this that thinks they need more help than that, I would also suggest checking out the slides and example models that Mary-Margaret Walton has posted on her class schedule.
For OOP344, I will be looking at my previous tests, but since I got perfect on one and near perfect on the second, I won't spend much time on them, I will also re-read chunks of the Evan Weaver text and look over the quizzes, then I will assign myself random programming tasks on areas that I am not too confident in, and do my best to make complete and working examples of how that specific area works. This will likely add up to 5-6 hours of studying, Then I guess I am as ready as I am going to be.
As a final note, with all that is going on, I want to stress the fact that everyone has to remember to do the INT322 assignment 2, do not forget, do not leave an inadequate amount of time for it.