Difference between revisions of "BTP300 Team NVG"

From CDOT Wiki
Jump to: navigation, search
(Team Not Very Good)
(Team Not Very Good)
Line 84: Line 84:
 
2011-10-12:
 
2011-10-12:
 
* Assignment #1 inside "trunk"
 
* Assignment #1 inside "trunk"
 +
 +
== Useful Code Snippets ==
 +
* Overall:
 +
# Should have everything within the "namespace cio"
 +
* Compiling:
 +
# to fix the "C4530" compiling error in visual studio, type in "/EHsc" once (without the quotes) after the files you are compiling
 +
* CFrame.cpp:
 +
# Should be passing "(void **)&hidden_" to "release" from "consolebackup.cpp" inside "CFrame::hide"
 +
# If you are seeing trailing characters when you move the frame, check to make sure your "CFrame::setLine" is correct and also how you allocated your "hidden" characters
 +
# in "CFrame::capture()" make sure to cast the return value of "capture" from "consolebackup.cpp" into "(char*)" if your "hidden" variable is type char
 +
* CDialog.cpp:
 +
# Must have a parallel array to fields stored to know which fields are dynamically allocated
  
 
== Resources ==
 
== Resources ==
Line 90: Line 102:
 
*[http://zenit.senecac.on.ca/wiki/index.php/Hints_for_Using_SVN_to_collaborate_on_school_projects All info needed for SVN]
 
*[http://zenit.senecac.on.ca/wiki/index.php/Hints_for_Using_SVN_to_collaborate_on_school_projects All info needed for SVN]
 
*[http://zenit.senecac.on.ca/wiki/index.php/BTP300_Student_Resources BTP300 Student Resources]
 
*[http://zenit.senecac.on.ca/wiki/index.php/BTP300_Student_Resources BTP300 Student Resources]
 +
*[http://zenit.senecac.on.ca/wiki/index.php?title=BTP300_Team_NVG#Useful_Code_Snippets Team NVG's Code Snippets]

Revision as of 09:02, 1 November 2011


BTP300 Fall 2011 | Weekly Schedule | Student List | Project Requirements | Teams and their Projects | Student Resources

Team Not Very Good

Skill Levels & Work Distribution Recent Changes Current Trunk Status

Experts [***]

Novices [*/**]

Assignment #2

2011-10-30:

  • CDialog
  1. coded some of the edit method
  2. changed some of the draw and add methods
  3. added parallel array state_ to check whether or not fields_ is dynamically allocated
  • CField:
  1. changed a bit of the constructor (should work even if instantiated with empty values due to default parameters)
  • CFrame:
  1. made sure that it passed the correct variables to global method release

Commited By:

2011-10-30:

  • Neil

Being Commited By:

2011-10-30:

  • no one

Repository

Repo ID

svn://zenit.senecac.on.ca/btp300_113rep2

Email All Team Members

Project Status

2011-10-30:

  • CDialog
  1. coded some of the edit method
  2. changed some of the draw and add methods
  3. added parallel array state_ to check whether or not fields_ is dynamically allocated
  • CField:
  1. changed a bit of the constructor (should work even if instantiated with empty values due to default parameters)
  • CFrame:
  1. made sure that it passed the correct variables to global method release

2011-10-29:

  • CDialog started and coded most of it, not tested yet
  1. not fully complete, there are still some confusing functions
  • CField has been altered again, display/edit functions make more sense
  • Updated CLabel
  1. enclosed CLabel header inside the cio namespace (everything must be within it)
  • Preshoth started working on CLine class
  1. Added class definitions to CLine.h
  2. Added function definitions (no code) to CLine.cpp

2011-10-28:

  • CFrame working but not perfect
  1. tested display and need to use better display from someone's consolelineedit.cpp
  2. haven't had a chance to test edit
  3. inside helper function void move, there is some stuff to fix when displaying message and capturing message
  4. frames now can't move too far right/up/down/left depending on terminal window

2011-10-27:

  • CFrame really close to finishing. Gotta fix it so there is no trailing characters after moving
  • CField still needs fixing up on the display function

2011-10-26:

  • Meet started working on CLabel

2011-10-25:

  • Coded a bit of the CFrame class, changed some of cfg.h and the CField classes
  1. CFrame class is closing to completion, lacking some functions (also not sure if current methods actually work)
  2. CField.cpp is still missing display and edit
  3. CField has been changed according to site requirements (only keeps address and passes everything else to CFrame)
  4. cfg.h is fully complete
  • Coded a bit of CField.cpp, CField.h, and cfg.h.
  1. CField.cpp is missing display and edit functionality
  2. cfg.h is not complete(?) for CDirection enumeration

2011-10-19:

  • Switched roles of Neil (now expert) and Robert (now novice)

2011-10-12:

  • Assignment #1 inside "trunk"

Useful Code Snippets

  • Overall:
# Should have everything within the "namespace cio"
  • Compiling:
# to fix the "C4530" compiling error in visual studio, type in "/EHsc" once (without the quotes) after the files you are compiling
  • CFrame.cpp:
# Should be passing "(void **)&hidden_" to "release" from "consolebackup.cpp" inside "CFrame::hide"
# If you are seeing trailing characters when you move the frame, check to make sure your "CFrame::setLine" is correct and also how you allocated your "hidden" characters
# in "CFrame::capture()" make sure to cast the return value of "capture" from "consolebackup.cpp" into "(char*)" if your "hidden" variable is type char
  • CDialog.cpp:
# Must have a parallel array to fields stored to know which fields are dynamically allocated

Resources