I want to make an integer store the location of my array, something like this:
1 2 3 4 5 6 7 8 9 10 11
string collection[3][3] = {
{"b","b","b"},
{"b","b","b"},
{"b","b","b"}
};
int topLeft = [1][1];
collection topLeft = "a"//this should change collection to "a"
//or alternatively
int topLeft = collection[1][1];
topLeft = "a"//this should change collection to "a"
I just want it to point to the array so I can access with ease.
Or if you could do this in a class that would work too, I saw something like it a while back but can't remember where ...