HerbertMunch
New Member
Im trying to make a member of this struct reference another instance of the same struct.
The compiler is not happy.
Can this not be done in c?
Code:
typedef struct MenuItem
{
//Pointer to the an array of menuitems that represents the next level of heirarchy.
MenuItem *nextLevel;
}MenuItem;
The compiler is not happy.
Can this not be done in c?