Hi,
I have a structure of arrays such as:
How do I access the elements of the arrays?Code:typedef struct { double array1[10]; double array2[10]; double array3[10]; } data_array_struct;
I've tried to assign values using something like
but the compilers says that there is "expected identifier or ‘(’ before ‘[’ token."Code:data_array_struct.array1[i]=5;
Thanks!