Memory Allocation Techniques in C++

Memory allocation in C++ can be broadly categorized into two techniques: automatic allocation (stack) and dynamic allocation (heap). Each method has its distinct characteristics, advantages, and... »

Smart Pointer in C++

In C++, there is a uncommnon conception named smart pointer, it is rarely seen in other programming lauguages. So, what’s it? We could simply define it.... »