cpoy one structure pointer items in to another structure

hello every one....
I have a structure
struct labValueRecord
{
public:
char name[40];
char category[30];
char unit1[30];
char unit2[30];
}*labvalue;

and i have 30 categories and i filled the structure with the respective values

now wat i want is to get the perticular index value of the structure

how to store the values of struct labValueRecords *labvalue a different object of the same structure


in this i want name[1],category[1],unit[1],unit[2] and name[3],category[3],unit[3],unit2[3]
i have store above items in
the same struct labValureRecords temporary;
and how to retrieve the items which r mentioned above from temporary


plz help me
thanks regards
yakub pasha

Topic archived. No new replies allowed.