johnfdutcher
Programmer
The 'C' compiler returns a message:
parse error before '||'
when compiling this line of code, given that 'rec' is a structure of which 'regnbr' is a member
i.e. char regnbr[4]:
if (strcmp(rec.regnbr,"XXXX"
== 0) ||
(strcmp(rec.regnbr,"xxxx"
== 0) {
return 0;
}
This test looks to me like a lot of them I see in the 'books' ????
parse error before '||'
when compiling this line of code, given that 'rec' is a structure of which 'regnbr' is a member
i.e. char regnbr[4]:
if (strcmp(rec.regnbr,"XXXX"
(strcmp(rec.regnbr,"xxxx"
return 0;
}
This test looks to me like a lot of them I see in the 'books' ????