RAII
Resource Acquisition Is Initialization: a C++ technique where a resource is cleaned up automatically when the object that owns it goes away. C has no such feature.
Resource Acquisition Is Initialization: a C++ technique where a resource is cleaned up automatically when the object that owns it goes away. C has no such feature.