![Stack Overflow](http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon.png)
There are two general techniques that I would recommend for this in C++11 and above, one for compile time dimensions and one for run time. Both answers assume you want uniform, two-dimensional arrays (not jagged ones).
Compile time dimensions
Use a std::array of std::array and then use new to p...