I am having trouble accessing structure members within Structures.
I have two structures:
When i use a pointer to ant to access the array pointer inside the structure path I use the following:Code:struct path {int tour[T]; double overall_cost;}; struct ant {int numb; struct path; int rank;};
However this doesn't seem to work, Any ideas?Code:ant_ptr->path->tour[i]=j;