Here is the code that is having the problem
int questions()
{
while(strchr(uresponse,"?")==0)
{
cout << "I cannot yet respond to questions.\n";
}
}
and the error I get is this:
passing `const char *' to argument 2 of `strchr(const char *, int)' lacks a cast
I was reading in the programmers bible about casting and I cant exactly figure this one out. Can anybody be so nice as to help?