I need to search a string inside a char array diagonal.
I found that with strstr I can search for a string inside another string.
So I thought I could use a for to concatenate the coordenates of the array into some temp string, and then use strstr.
Is that possible?
I tried with:
strcat(tempstring, array[i][j]) (inside some for's)
but as usual, the first try didn't work (nor the second nor the third).