Open main menu

CDOT Wiki β

Changes

BTP300A Team 4 Bugs Report

6,078 bytes added, 21:44, 29 September 2013
no edit summary
==Week 3 ==
 
*9/19 - Pair Programming - used to complete display function. Discovered that we needed to use max columns.
- Ran in to an issue with printing values for troubleshooting purposes - will post on other board for help.
 
*9/20 - Pair Programming - Discovered our display function was not positioning the cursor properly at the end of the string. FIXED!
 
==Week 4 ==
 
*9/24 - Pair Programming - working on edit function.
Errors:
consolelineedit.cpp:75:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
consolelineedit.cpp:76:25: error: invalid conversion from âsize_t {aka unsigned int}â to âint*â [-fpermissive]
- had to dereference "strOffset" (FIXED!)
 
consolelineedit.cpp: In function âint edit(char*, int, int, int, int, bool*, int*, int*)â:
consolelineedit.cpp:80:22: warning: NULL used in arithmetic [-Wpointer-arith]
- field dereference that shouldn't be dereferenced
- cannot compare int with NULL, but can with pointer (FIXED!)
 
consolelineedit.cpp:131:3: error: expected primary-expression before â}â token
consolelineedit.cpp:131:3: error: expected â;â before â}â token
- forgot braces (FIXED!)
 
*9/26 - Pair Programming - Had an awesome time today!
 
Issue 1: string was not being printed, but the cursor was being placed appropriately at the end of the string. Fixed!
- had an "if" , "else if", but no "else" (Yay fixed!)
 
Issue 2: RIGHT arrow jumping cursor to the end of the field length and display not refreshing properly. Fixed!
- Had to call display function first before calling the "setPosition".
 
Issue 3: HOME button not working properly (not sure if Matrix or computer that we are on)
- tested code using another button that we know works - verified the code is working as expected - must be issue with the button. (will retest on another computer).
 
==Week 5 ==
 
*9/28 - Pair Programming - very eventful!
 
Issue 1: Problem with End button after a DEL - cursor Position was jumping to maxStrLength. (fixed!)
 
Issue 2: DEL key - was adjusting the offset and moving characters to the right instead of to the left (fixed!)
 
Issue 3: INSERT - when in INSERT mode entering characters it was adding the new chars to the left of the cursor instead of to the right of the cursor (fixed!)
 
*9/29 - Pair Programming
 
Preparing to hand in assignment but when compiling in Borland we received many errors.
C:\Borland\BCC55\Bin>bcc32 a1test.cpp console.cpp consolelineedit.cpp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
a1test.cpp:
console.cpp:
consolelineedit.cpp:
Error E2268 consolelineedit.cpp 35: Call to undefined function 'strlen' in funct
ion display(const char *,int,int,int)
Error E2268 consolelineedit.cpp 37: Call to undefined function 'strlen' in funct
ion display(const char *,int,int,int)
Error E2268 consolelineedit.cpp 54: Call to undefined function 'strlen' in funct
ion display(const char *,int,int,int)
Error E2268 consolelineedit.cpp 60: Call to undefined function 'strlen' in funct
ion display(const char *,int,int,int)
Error E2268 consolelineedit.cpp 61: Call to undefined function 'strlen' in funct
ion display(const char *,int,int,int)
Error E2268 consolelineedit.cpp 64: Call to undefined function 'strlen' in funct
ion display(const char *,int,int,int)
Error E2268 consolelineedit.cpp 87: Call to undefined function 'strlen' in funct
ion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 88: Call to undefined function 'strcpy' in funct
ion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 94: Call to undefined function 'strlen' in funct
ion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 95: Call to undefined function 'strlen' in funct
ion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 105: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 106: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 107: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 108: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 131: Call to undefined function 'strcpy' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 173: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 187: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 189: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 192: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 193: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 200: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 201: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 217: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 222: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2268 consolelineedit.cpp 226: Call to undefined function 'strlen' in func
tion edit(char *,int,int,int,int,bool *,int *,int *)
Error E2228 consolelineedit.cpp 226: Too many error or warning messages in funct
ion edit(char *,int,int,int,int,bool *,int *,int *) *** 26 errors in Compile ***
 
- Fixed... added #include <iostream> and it compiled... not sure why we needed iostream
1
edit