DEV Community

Discussion on: Dynamic Memory Allocation for NxM (2D) Array Using Pointer | C++

Collapse
pgradot profile image
Pierre Gradot

You should stop calling new / delete by hand and starting using smart pointers instead: en.cppreference.com/w/cpp/memory