Hi all:
I have written the following block of code:
It complied OK, but my question is that is it correct to create a member of the a structure itself in the very same structure? Does not sound logical?Code:typedef struct VIEW_TAG { char name[16]; VIEW_MEMBER *ptrViewMembers; VIEW_MEMBER *ptrLastAddedMember; struct VIEW_TAG *ptrNextView; }VIEW;
My guess is that during compiling, does not know what a "VIEW_TAG" and will give me an error, but it does not.
Can anyone help?
Cheers