+ 3
Easy way to dynamic allocation? 2D
what is the easiest way to dynamically allocate 2 dimensions array?
2 Answers
0
https://code.sololearn.com/ca4yjd1IbjYv/#cpp
Here is an example I wrote. I suggest using a 2d vector or smart pointers instead if you can and you want it to be easier.
0
And how to do it in c language?