Hi,
suppose I've a structures like this
filled, for example:Code:typedef struct { int f[5]; } foo;
In this way, I have a table, how to pass to function column 1 (values 2,4,6) so I can use it as an array ?Code:foo[0].f[0] = 1 foo[0].f[1] = 2 foo[0].f[2] = 3 foo[0].f[3] = 4 foo[0].f[4] = 5 foo[1].f[0] = 2 foo[1].f[1] = 4 foo[1].f[2] = 6 foo[1].f[3] = 8 foo[1].f[4] = 10 foo[2].f[0] = 3 foo[2].f[1] = 6 foo[2].f[2] = 9 foo[2].f[3] = 12 foo[2].f[4] = 15
Thanks.