Posted: Thu Apr 13, 2006 8:11 pm Post subject: TkBot v2 Help (Merv)
I'm trying to change a couple of things in the Tk Bot v2 bot by 50% Packetloss.
Now before I changed anything I wanted to see if everything was working, so I compiled. I got these errors:
\command.cpp(493): error C2666: 'String::operator`!='' : 3 overloads have similar conversions
\datatypes.h(198): could be 'bool String::operator !=(const String &)'
\spawn.cpp(57): error C2666: 'String::operator`=='' : 3 overloads have similar conversions
Quote:
spawn.cpp
\TkBot2\spawn.cpp(57) : error C2666: 'String::operator`=='' : 3 overloads have similar conversions
\datatypes.h(194): could be 'bool String::operator ==(const String &)'
\datatypes.h(192): or 'bool String::operator ==(const char *)'
or 'built-in C++ operator==(char *, char *)'
while trying to match the argument list '(String, char [20])'
note: qualification adjustment (const/volatile) may be causing the ambiguity
command.cpp
\TkBot2\command.cpp(493) : error C2666: 'String::operator`!='' : 3 overloads have similar conversions
\datatypes.h(198): could be 'bool String::operator !=(const String &)'
\datatypes.h(196): or 'bool String::operator !=(const char *)'
or 'built-in C++ operator!=(char *, char *)'
while trying to match the argument list '(String, char [20])'
note: qualification adjustment (const/volatile) may be causing the ambiguity
\TkBot2\command.cpp(493) : error C2666: 'String::operator`!='' : 3 overloads have similar conversions
\datatypes.h(198): could be 'bool String::operator !=(const String &)'
\datatypes.h(196): or 'bool String::operator !=(const char *)'
or 'built-in C++ operator!=(char *, char *)'
while trying to match the argument list '(String, char [20])'
note: qualification adjustment (const/volatile) may be causing the ambiguity
Why not just use stricmp()? _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum