Open main menu

CDOT Wiki β

Changes

Team 3 Bugs Report

443 bytes added, 20:09, 27 September 2013
no edit summary
<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.
* Was getting warnings from Borland compiler regarding the mixed use of signed and unsigned variables. This was fixed in the code.
* cl command was giving a warning which was resolved with the use of the /EHsc option at the end of the command
* After typing/deleting a character in the entry field, the screen was not updated properly. This was due to the fact that ''strOffset'' and ''curPosition'' were not incremented/decremented properly
 
100
edits