M
Michael
Hi all,
why do I get a message:
warning: passing arg 1 of `collectInput' from incompatible pointer type
In 'main' have:
char inputString[MAX_INPUT_LENGTH];
collectInput(&inputString);
and later on I have:
void collectInput(char *input){
scanf("%s", input);
}
I know this is simple, but I can't see what's wrong.....
Regards
Michael
why do I get a message:
warning: passing arg 1 of `collectInput' from incompatible pointer type
In 'main' have:
char inputString[MAX_INPUT_LENGTH];
collectInput(&inputString);
and later on I have:
void collectInput(char *input){
scanf("%s", input);
}
I know this is simple, but I can't see what's wrong.....
Regards
Michael