In an example i found this
We have this struct:
[PHP]struct catalog {
char name[80];
char title[80];
char pub[80];
unsigned date;
unsigned char ed;
} cat[MAX];
[/PHP]
When we fill the cat[i].name i saw this
[PHP]
for(i=0 i<MAX; i++)
printf("Enter name..")
gets(cat[i].name);
if(!*cat[i].name) break;/* what this command do? I mean the !* ?[/PHP]
What is !* ?
Thanks in advance
We have this struct:
[PHP]struct catalog {
char name[80];
char title[80];
char pub[80];
unsigned date;
unsigned char ed;
} cat[MAX];
[/PHP]
When we fill the cat[i].name i saw this
[PHP]
for(i=0 i<MAX; i++)
printf("Enter name..")
gets(cat[i].name);
if(!*cat[i].name) break;/* what this command do? I mean the !* ?[/PHP]
What is !* ?
Thanks in advance
Comment