Hello mates
I have a new question...
I have 2 2-d arrays with the same dimensions and contents.
The first one, say a [15][4] and the second on, say b[15][4] and are both char type.
They both have the same elements(same 4character Lines) but in different order(the second one's Lines are mixed compared with the first one)....
My question is,
if i declare an array, say int c [15] wht should i do to use it as an index for the array b compared to array a.
for example
i array A i array B i index array C
0 abcd 0 jklm 0 2
1 efgh 1 abcd 1 0
2 ijkl 2 efgh 2 1
. . . .
. . . .
. . . .
i don't want to change the variable type of the arrays becouse this routine is one part of big function i am currently programing.I am tring to think of a way of comparing these 2d arrays line by line and fill in the index array.
Thanks in advance...