Fetch values in interdependent array of struct in c++
Fetch values in interdependent array of struct in c++
I have many interdependent array of structures. Im struggling hard with member variable pointers to a record in array of another struct. Putting 3 structs for your reference
struct struct1 { int node_id; struct2* ptr; }; struct struct2 { int node_id; int type; struct1* owner; struct2* next; struct2* previous; struct3* block1; struct3* block2; }; struct struct3 { int node_id; int n_entries;…
View On WordPress









