Difference between revisions of "BTP300 Team NVG"

From CDOT Wiki
Jump to: navigation, search
(Resources)
(Useful Code Snippets)
Line 89: Line 89:
 
  # Should have everything within the "namespace cio"
 
  # Should have everything within the "namespace cio"
 
* Compiling:
 
* Compiling:
  # to fix the "C4530" compiling error in visual studio, type in "/EHsc" once (without the quotes) after the files you are 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:
 
* CFrame.cpp:
 
  # Should be passing "(void **)&hidden_" to "release" from "consolebackup.cpp" inside "CFrame::hide"
 
  # 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
 
  # 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
+
  # 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:
 
* CDialog.cpp:
 
  # Must have a parallel array to fields stored to know which fields are dynamically allocated
 
  # Must have a parallel array to fields stored to know which fields are dynamically allocated

Revision as of 09:04, 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