Difference between revisions of "Console UI Core Classes - OOP344 20121"

From CDOT Wiki
Jump to: navigation, search
(Due Date)
(To Do)
Line 23: Line 23:
 
Note that the trunk holds several files that are the base of your project.<br />
 
Note that the trunk holds several files that are the base of your project.<br />
 
Then in the Checked out directory:
 
Then in the Checked out directory:
# Create a directory in branches. Name of this directory must be your seneca email id '''''(NOT YOUR WHOLE EMAIL ADDRESS, ONLY THE ID) '''''  
+
# Create a directory in branches. Name of this directory must be your seneca email id '''''(NOT YOUR WHOLE EMAIL ADDRESS, ONLY THE ID) ''''' (done in lab)
 
#: From now on, this directory will be called '''Your Workspace'''
 
#: From now on, this directory will be called '''Your Workspace'''
# In '''your workspace''' create a direcotry called console and add the files you submitted for your console assignment to it.
+
# In '''your workspace''' create a direcotry called console and add the files you submitted for your console assignment to it. (done in lab)
# using svn command, '''''add''''', add all the newly created directories and their files to svn
+
# using svn command, '''''add''''', add all the newly created directories and their files to svn (done in lab)
# '''''commit''''' the repository with the message (comment) ''"Initial branch creation"''
+
# '''''commit''''' the repository with the message (comment) ''"Initial branch creation"'' (done in lab)
After doing this with all your team members present (Online or face to face), Browse your ''Console'' code as a group and choose the best version from them and add it to trunk
+
# After doing this with all your team members present (Online or face to face), Browse your ''Console'' code as a group and choose the best version from them and manually copy and '''add''' it to trunk  
#* Any of the group members can do this, but it would be nice if you do this when everyone is present
+
#: Any of the group members can do this, but it would be nice if you do this when everyone is present (only one copy of console.cpp and console.h should get copied in trunk)
#* If further changes to console.cpp or console.h are needed, you can apply them too
+
# If further changes to console.cpp or console.h are needed, apply them too
#* Compile your code with '''Test1Frame.cpp''' works properly
+
# Compile your code with '''Test1Frame.cpp''' and make sure it works properly
#* After fixing possible bugs recompile and make sure everything is ok and runs properly
+
# After fixing possible bugs recompile and make sure everything is ok and runs properly
 
# '''''tag''''' the trunk under R0.1 in '''''tags''''' directory
 
# '''''tag''''' the trunk under R0.1 in '''''tags''''' directory
  

Revision as of 14:19, 15 February 2012

Objective

Your objective at this stage is to create series of core classes designed to interact with the user. These Core Classes then can be used in development of any interactive application.

Please note that the class definitions here are minimum requirement for the Core Classes and you are free to add any enhancements or features you find useful. However make sure that you discuss these enhancements with your professor to make sure they are feasible before implementation.

It is highly recommended to develop the classes in the order they are stated here. You must create your own tester programs for each class (if possible); However, close to due date of each release, a tester program may be provided to help you verify the functionality of your classes. If tester programs are provided, then executables of the test programs will be available on matrix to show you how it is supposed to run.

Start by creating mock-up classes (class declaration and definition with empty methods that only compiles and don't do anything). Each class MUST have its own header file to hold its declaration and "cpp" file to hold its implementation. To make sure you do not do circular includes follow these simple guidelines:

  • Add recompilation safeguards to all your header files.
  • Always use forward declaration if possible instead of including a class header-file.
  • Use includes only in files in which the actual header file code is used.
  • Avoid "just in case" includes.

Student Resources

Help/Question

  • N/A

Releases and Due Dates

R0.2

To Do

checkout your repository using userids and passwords received through your learn.senecac.on.ca email
Note that the trunk holds several files that are the base of your project.
Then in the Checked out directory:

  1. Create a directory in branches. Name of this directory must be your seneca email id (NOT YOUR WHOLE EMAIL ADDRESS, ONLY THE ID) (done in lab)
    From now on, this directory will be called Your Workspace
  2. In your workspace create a direcotry called console and add the files you submitted for your console assignment to it. (done in lab)
  3. using svn command, add, add all the newly created directories and their files to svn (done in lab)
  4. commit the repository with the message (comment) "Initial branch creation" (done in lab)
  5. After doing this with all your team members present (Online or face to face), Browse your Console code as a group and choose the best version from them and manually copy and add it to trunk
    Any of the group members can do this, but it would be nice if you do this when everyone is present (only one copy of console.cpp and console.h should get copied in trunk)
  6. If further changes to console.cpp or console.h are needed, apply them too
  7. Compile your code with Test1Frame.cpp and make sure it works properly
  8. After fixing possible bugs recompile and make sure everything is ok and runs properly
  9. tag the trunk under R0.1 in tags directory

Due Date

Fri Feb 17, 11:59

Exercise

To prepare and learn how to contribute and also gain mark for your next release do the following exercise.

Tester

Test1Frame.cpp