It is too complicated structure, But I can summarized as follows
first, I created a pointer to class sys
second, In the constructor of that class I created a pointer to array of another class E
third, In the constructor of each one of two I created three pointers, 1-for an array of class f, 2-is an array of class h and a pointer to a class G
when I am dealing with second, I choose the neighbour for the current E up and down and I sent their addresses in a pointer, and when I am trying to call a f from current E the error message comes, It is to difficult to put code because as I explained it is long code and distributed into 12 files.