| Thread Previous • Date Previous • Date Next • Thread Next |
Hi,
please help me with trivial programming question. I am doing this:
if (strcmp(bo.mines_, "marble"))
and getting this:
error: invalid conversion from 'int32_t {aka int}' to 'const char*'
[-fpermissive]
member mines_ is defined as
char* mines_;
in ai_hints.h
What should be the right syntax?
Thanks!
| Thread Previous • Date Previous • Date Next • Thread Next |