I have a two-d array from which I need to read values from any and all sides of each index.
for example
int x=0, y=0;
myArray [x - 1][y - 1];
where x-1 and y-1 would be the values of the other end of the array.
I've been up over 24 hours trying to write this program, and my mind's far from lucid. Can someone PLEASE tell me how to do this being as elaborate as possible (or even better providing the complete code).
THANK YOU IMMENSELY!