i seem to be having problems with some code.. and to be honest i can't figure out why... i won't post my code but i'll post something similar...
Code:// One.h #ifndef ONE_H #define ONE_H #include "Two.h" struct One { int stuff; One *next; Two *list; } #endifWhat i do is make a pointer to a One struct, however the error pops up at where i designated.. it basically won't let me define a [b]One[b] inside a Two struct.. why can't i make a struct point to another struct and that struct point back to the first type of struct... (making a linked list of linked lists)Code:// Two.h #ifndef TWO_H #define TWO_H #include "One.h" struct Two { unsigned int otherStuff; Two *next; One *back; // THis is where the error occurs. } #endif