How would one access an entire row of a multidimensional array? For example:
int logic[4][9] = { {0,1,8,8,8,8,8,1,1}, {1,0,1,1,8,8,8,1,1}, {8,1,0
As well as decaying the array to a pointer, you can also bind it to a reference:
int (&temp)[9] = logic[2];
One advantage of this is it will allow you to use it C++11 range-based for loops:
for (auto t : temp) { // stuff }