I'm looking for a good way to do something like this:
typedef struct user
{
unsigned long id;
//userList defined below
userList friends;
}
typedef struct
{
//userList contains users
user * list;
int count;
} userList;
Is there a legal way to do this or something similar?