+ 3

Easy way to dynamic allocation? 2D

what is the easiest way to dynamically allocate 2 dimensions array?

27th Sep 2017, 12:14 AM
Mohammed Fakham
Mohammed Fakham - avatar
2 ответов
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.
27th Sep 2017, 2:49 AM
aklex
aklex - avatar
0
And how to do it in c language?
27th Sep 2017, 10:20 AM
Mohammed Fakham
Mohammed Fakham - avatar