hello all,
i have a problem i can't get around,
for example if ,
i have a function:
void function1 ( int k []);
i can use it in the following manner:
int h[][];
function1(h[]); // so basically i'm passing an array.
so now what if i have a structure
structure1{
int value;
} struct[][];
so now i can't use
function1 ( struct[x].value) // here i'm trying to pass the an array that is composed of value
i can create another array save the values in it and then use it in the function, however, this will results in lots of processing,
i know the best way to do this would be to use array of values and just use one dimensional struct array instead, but i'm kiind of curious whether i can do it through double array struct
Thanks a lot.
Fadi