Hello, right now I am trying to do something like this.
int give_number(char row[], int column){
int N0[]={1,1,1,1,1,1,1};
int N1[]={1,1,1,1,1,1,1};
int N2[]={0,1,1,1,1,0,1};
int N3[]={0,1,1,1,0,1,1};
int N4[]={1,1,1,1,0,1,0};
int N5[]={1,1,0,1,0,1,1};
int N6[]={1,0,1,1,1,1,1};
int N7[]={1,1,1,1,1,0,1};
int N8[]={1,1,1,1,1,1,1};
int N9[]={1,1,1,1,0,1,1};
return row[column];
}
I expect a return for row[column];
for example
int test=give_number("N2",2);
should output
test=1
But it doesn´t work. The output is simply empty.