Changes

Jump to: navigation, search

BTP300A Team 6 Bugs Report

2,652 bytes added, 16:20, 23 September 2013
no edit summary
ASSIGNMENT 1: Lots of this:
<pre>
<nowiki>g++ a1test.cpp
/tmp/ccmnao28.o: In function `main':
a1test.cpp:(.text+0x3e): undefined reference to `cio::Console::pause()'
</pre>
Working on the proper #includes to rectify the undefined references.
...
 
 
Working on the proper #includes to rectify the undefined references.
</nowiki>
2013-09-12
royal derp.
 
----
 
2013-09-23
 
ERROR MESSAGES regarding substr from the <cstring> library, and some invalid integer pointer comparisons:
 
<pre>
consolelineedit.cpp: In function âint edit(char*, int, int, int, int, bool*, int*, int*)â:
consolelineedit.cpp:65:13: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
console.h:25:11: error: âint cio::Console::getKey()â is private
consolelineedit.cpp:72:34: error: within this context
console.h:25:11: error: âint cio::Console::getKey()â is private
consolelineedit.cpp:81:30: error: within this context
consolelineedit.cpp:133:15: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:136:15: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:139:21: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:139:50: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:142:21: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:142:52: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:149:18: error: cannot convert âboolâ to âbool*â in assignment
In file included from consoleplus.h:6:0,
from a1test.cpp:10:
consolelineedit.cpp: In function âint edit(char*, int, int, int, int, bool*, int*, int*)â:
consolelineedit.cpp:65:13: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
console.h:25:11: error: âint cio::Console::getKey()â is private
consolelineedit.cpp:72:34: error: within this context
console.h:25:11: error: âint cio::Console::getKey()â is private
consolelineedit.cpp:81:30: error: within this context
consolelineedit.cpp:133:15: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:136:15: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:139:21: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:139:50: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:142:21: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:142:52: error: request for member âsubstrâ in âstrâ, which is of non-class type âchar*â
consolelineedit.cpp:149:18: error: cannot convert âboolâ to âbool*â in assignment
</pre>
 
 
J/A

Navigation menu