What is wrong with multi-dimensional arrays in C? It works far better than in C++:
void foo(int X, int Y) { double a[X][Y]; .. }
In fact, this is one reason I switched away from C++, because arrays are so bad in C++.
void foo(int X, int Y) { double a[X][Y]; .. }
In fact, this is one reason I switched away from C++, because arrays are so bad in C++.
(yes, one can activate library assertions, but still - by default - unsafe)