emp* is also a syntax error, that should be *emp I guess.
Yes, I did write it like that (*emp that is!!)... I didn't double check what I wrote, but I'm just still trying to figure out how to copy from telnet...
Aren't
Code:
int i;
EMP *emp[MAXPOINTERS];
for( i = 0; i < MAXPOINTERS; i++ ) {
emp[i] = NULL;
}
and
Code:
for ( ;emp*; emp++)
*emp = NULL;
the same thing? Obivously not... but why is that?
.... I think I got it: emp is an array, (that code was initially used for a string)... that's why it shouldn't work