warning: ISO C++ forbids variable length array
Array in C++ must have a size defined at compile-time. If you want variable length array, use std::vector instead. In your case, I would use template for Matrix Size and have different implementation for different matrix size (unless I misunderstood your intentions). Since I did not defined the generic template, using any other value than 2 or … Read more