Difference between revisions of "Team 3 Bugs Report"

From CDOT Wiki
Jump to: navigation, search
(Accomplishments)
Line 1: Line 1:
 
[[BTP300B Teams (Fall 2013)|<-- Go Back]]
 
[[BTP300B Teams (Fall 2013)|<-- Go Back]]
 
  
 
== <u>'''Bugs/Problems'''</u> ==
 
== <u>'''Bugs/Problems'''</u> ==
Line 10: Line 9:
 
<u>''' Week 4 - Sept 23 - 29 '''</u>
 
<u>''' Week 4 - Sept 23 - 29 '''</u>
 
* Allocated memory for local copy of ''str'' in the '''edit()''' function. Memory allocated (by calling '''new''') was based on length of original string. After inserts into the local copy, memory was therefore corrupted and '''delete []''' was failing. The memory allocation was changed to be based on ''maxStrLength'' which is passed in to '''edit()'''. This fixed the problem.
 
* Allocated memory for local copy of ''str'' in the '''edit()''' function. Memory allocated (by calling '''new''') was based on length of original string. After inserts into the local copy, memory was therefore corrupted and '''delete []''' was failing. The memory allocation was changed to be based on ''maxStrLength'' which is passed in to '''edit()'''. This fixed the problem.
 +
  
 
== <u>'''Accomplishments'''</u>  ==
 
== <u>'''Accomplishments'''</u>  ==

Revision as of 14:15, 23 September 2013

<-- Go Back

Bugs/Problems

Week 3 - Sept 16 - 22

  • forgot about using -lncurses so was getting multiple compile errors on Matrix

Week 4 - Sept 23 - 29

  • Allocated memory for local copy of str in the edit() function. Memory allocated (by calling new) was based on length of original string. After inserts into the local copy, memory was therefore corrupted and delete [] was failing. The memory allocation was changed to be based on maxStrLength which is passed in to edit(). This fixed the problem.


Accomplishments

Week 3 - Sept 16 - 22

  • display() function has been completed.

Week 4 - Sept 23 - 29

  • overall structure for edit() was discussed
  • started coding some of the functions that edit() calls
  • majority of these functions have been completed
  • testing in progress