Job 5323

Owner
Luncasu Bogdan Cristian
Problem
Scrabble
Source
0.43KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:16:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:17:28: error: call of overloaded 'strchr(char&, char&)' is ambiguous
prog.cpp:17:28: note: candidates are:
In file included from prog.cpp:2:0:
/usr/include/string.h:222:1: note: char* strchr(char*, int) <near match>
/usr/include/string.h:222:1: note:   no known conversion for argument 1 from 'char' to 'char*'
/usr/include/string.h:228:1: note: const char* strchr(const char*, int) <near match>
/usr/include/string.h:228:1: note:   no known conversion for argument 1 from 'char' to 'const char*'
prog.cpp:24:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Questions?

Sponsors Gold