Evil Genius
IT Solutions
Portfolio
Services
AI
How we work
About
Society
EN
ខ្មែរ
Contact
Portfolio
Services
AI
How we work
About
Society
Evil Genius Society
Home
Learn
Forum
Leaderboard
Socials
Messages
Curriculum
1. Getting Set Up
2. What a Compiler Actually Does
3. Values and Types
4. Control Flow
5. Functions
6. Arrays, Strings, and Your First STL Tools
7. Pointers and References
8. The Memory Model
8.1 Stack, Heap, and Static Storage
8.2 Automatic Storage and RAII
8.3 new and delete
8.4 Memory Leaks
8.5 Dangling Pointers and Use-After-Free
8.6 Buffer Overruns
8.7 Undefined Behaviour
9. Structs, Classes, and Object Lifetime
10. Smart Pointers
11. Debugging and Tooling
12. Templates
13. The Standard Library
14. Lambdas and Functional Style
15. Error Handling
16. Object-Oriented C++
17. Project Structure and the Build
18. Testing
19. Idioms and Design
20. Concurrency
21. Performance
22. Compile-Time C++
23. Interfacing Outward
24. Capstone Projects
← All modules
Modules 8
The Memory Model
Stack vs heap, RAII, leaks, dangling pointers, and undefined behaviour.
8.1
Stack, Heap, and Static Storage
8.2
Automatic Storage and RAII
8.3
new and delete
8.4
Memory Leaks
8.5
Dangling Pointers and Use-After-Free
8.6
Buffer Overruns
8.7
Undefined Behaviour