|
A same mistake report Gcc I hope it can help you ! )
warning : comparison between pointer and integer
This was generated from 'if(strster(line,"word")!=NULL)'strstr return NULL or pointers,I was only interested in the fact that a string had been found, not where it was.
error floppyto.c:782: parse error at end of input
floppyto,c is the program name, 782 is the line number but it is one greater than file length, This is because of unblanced {} enbalanced comments /* */
error Segmetion error.
\x{4F60}\x{53EF} \x{80FD} \x{8BBF}\x{95EE}\x{88AB}\x{4FDD}\x{62A4}\x{7684}\x{5185}\x{5B58} \x{975E}\x{6CD5}\x{5185}\x{5B58}\x{5730}\x{5740}.
error Subcripted value is neither array nor pointer
Attempt to subscript a scalar variable
error unterminated '#if' confitional
#endif preprocessor required.
warning: passing arg 1 of 'cpustr' makes integer from pointer without a cast
This is the code causing the problem:
void cpustr ( char item )
main()
{
char src[]="martin leslie";
cpystr(src);
}
{
cpystr( char item[])
} |
|