hi there,
i'm looking how program this: want compare simple array 2 dimension array, , return if line matches simple array.
example:
int my1darray[3] = {2,3,4};
int my2darray[2][3]={
{1,2,3},
{2,3,4}
};
and return matched @ second line of my2darray[].
is possible?
thank you!
ricardo.
i'm looking how program this: want compare simple array 2 dimension array, , return if line matches simple array.
example:
int my1darray[3] = {2,3,4};
int my2darray[2][3]={
{1,2,3},
{2,3,4}
};
and return matched @ second line of my2darray[].
is possible?
thank you!
ricardo.
sure, write nested loop , each comparison. ain't apl, don't expect one-line solution.
Arduino Forum > Using Arduino > Programming Questions > Compare an array with a line in a two dimensional array?
arduino
Comments
Post a Comment