let's say I declare a data type the following way:
typedef struct DataGroup
Now I would like to declare a type that consists of an array with DataGroup structs. Something like:
typedef struct TestArray
struct TestArray myTestData;
I have trouble though with the correct syntax. How can I access element1 and element2 from within myTestData and assign a value to these elements? Please also let me know if there is an easier or better way to do what I describe above. Important is that I have an array of DataGroup.