M
mdh
Hi All,
Happy Solstice!
May I ask the following.
The following is a brief excerpt of a practice program.
main(...){
if (argc > 1 && mystrcomp(argv[1], "-n") == 0) /* argv is "-n" /
******/
.......}
int mystrcomp( char *s, char *t){....}
I get the following warning related to the line marked by asterisks.
"Warningassing argument 1 of 'strcomp' discards qualifiers from
pointer target type."
I am sure I will have some more questions, but what exactly does this
warning mean?
thanks, in advance.
Happy Solstice!
May I ask the following.
The following is a brief excerpt of a practice program.
main(...){
if (argc > 1 && mystrcomp(argv[1], "-n") == 0) /* argv is "-n" /
******/
.......}
int mystrcomp( char *s, char *t){....}
I get the following warning related to the line marked by asterisks.
"Warningassing argument 1 of 'strcomp' discards qualifiers from
pointer target type."
I am sure I will have some more questions, but what exactly does this
warning mean?
thanks, in advance.