Hi,
I have a specific problem. I have a structure within a structure;
The first struct contains the details of some 200 persons. The second structure makes a cluster of those persons to a 5X5 array of "struct store" within a certain age group and stores them into the struct class pupil. I want to know how I can allocate dynamically memory to the "struct class *pupil" and access it's members.Code:struct class{ int tag; double num; double age; } info[200]; struct strore{ int num; double agemin; double agemax; struct class *pupil; }data[5][5];