I'm trying to build a data structure of known size. Like this
I know all values, and I'm planning to use perl to write the assignments for all elements, but the way of doing so for a simple array does not work.Code:struct operation_matrix{ float mtrx[16]; }operation[894];
Is there a way of doing it this way?Code:operation[0].mtrx[]{0.5,....last};
I guess there must be a better way of dealing with this, but I'm starting with C ( used to program in fortran).
Thanks in advance!