Home > Articles > Programming > C/C++

C/C++

61 Items

Sort by Date | Title

Working with Dynamic Memory in C++
By Stanley B. Lippman, Josée LaJoie, Barbara E. Moo
Sep 13, 2012
C++ lets you allocate objects dynamically. The authors of C++ Primer discuss why properly freeing dynamic memory is a rich source of bugs, and how the new library defines smart pointers—shared_ptr, unique_ptr, and weak_ptr—that make managing dynamic memory much safer.

<< < Prev Page 1 2 3 4