The line should be:
return strcmp(koala,input_k);
I assume the function is called strcmp() and not strcomp() - the first
name is a standard function.
Forget about the int word - it is the return type of strcmp...
/Per W
On Thu, 25 Mar 2004, David wrote:
> I'm learning c++ and in a program I'm working on, I have this line:
> return int strcomp(koala, input_k);
> When I try to compile, I get this error:
> parse error before `('
> I'm not quite sure about the syntax, and I have no idea what the error means. Can someone help me?
|