mattias1975
Programmer
Hello!
I get an irritating warning from the compiler:
myapp.c: 166: warning: implicit declaration of function 'strcmp'
Line 166 looks like this:
if(strcmp(listpointer->name, search->name)==0){
......
}
listpointer->name and search->name are char[100].
Whats the compiler complaining about?
How do i fix it?
I get the same warning when i call the strcpy function on another line in my code.
Thank you.
I get an irritating warning from the compiler:
myapp.c: 166: warning: implicit declaration of function 'strcmp'
Line 166 looks like this:
if(strcmp(listpointer->name, search->name)==0){
......
}
listpointer->name and search->name are char[100].
Whats the compiler complaining about?
How do i fix it?
I get the same warning when i call the strcpy function on another line in my code.
Thank you.