Difference between revisions of "BTP300 Team NVG"
(→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
Contents
Team Not Very Good
Skill Levels & Work Distribution | Recent Changes | Current Trunk Status |
---|---|---|
Experts [***]
Novices [*/**]
|
Assignment #22011-10-30:
|
Commited By:2011-10-30:
Being Commited By:2011-10-30:
|
Repository
Repo ID
svn://zenit.senecac.on.ca/btp300_113rep2
Email All Team Members
Project Status
2011-10-30:
- CDialog
- coded some of the edit method
- changed some of the draw and add methods
- added parallel array state_ to check whether or not fields_ is dynamically allocated
- CField:
- changed a bit of the constructor (should work even if instantiated with empty values due to default parameters)
- CFrame:
- 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
- not fully complete, there are still some confusing functions
- CField has been altered again, display/edit functions make more sense
- Updated CLabel
- enclosed CLabel header inside the cio namespace (everything must be within it)
- Preshoth started working on CLine class
- Added class definitions to CLine.h
- Added function definitions (no code) to CLine.cpp
2011-10-28:
- CFrame working but not perfect
- tested display and need to use better display from someone's consolelineedit.cpp
- haven't had a chance to test edit
- inside helper function void move, there is some stuff to fix when displaying message and capturing message
- 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
- CFrame class is closing to completion, lacking some functions (also not sure if current methods actually work)
- CField.cpp is still missing display and edit
- CField has been changed according to site requirements (only keeps address and passes everything else to CFrame)
- cfg.h is fully complete
- Coded a bit of CField.cpp, CField.h, and cfg.h.
- CField.cpp is missing display and edit functionality
- 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