From the web I understand that C contains NUL
keyword.
But while compiling I get an error
NUL undeclared first use in this function'
My code fragment:
for (;;) {
char ch = (*pzDest = *pzSrc);
if (ch == NUL)
break;
if (ch == ':') {
*pzDest = NUL;
break;
}
pzDest++;
pzSrc++;
}
Any idea why I get this error?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…