I highly doubt that you actually want a 2D array. Because once you pass it to a method, it's no longer a 2D array, it's a pointer. I suspect you really want a 2D vector.
Printable View
I highly doubt that you actually want a 2D array. Because once you pass it to a method, it's no longer a 2D array, it's a pointer. I suspect you really want a 2D vector.