Memory and resource management Moduł 1 Memory map Stack vs Heap Stack allocation Stack overflow Heap allocation New expression and operator new Dynamic array allocation Dynamic allocation problems A simple question... RAII Memory corruption detection Moduł 2 Smart pointers std::unique_ptr<> std::shared_ptr<> std::weak_ptr<> std::auto_ptr<> Smart pointers - summary Best practices Implementation details Efficiency