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
4.1 if, else, and the Dangling-else Trap
4.2 switch and Fallthrough
4.3 while, do-while, and for
4.4 Range-based for
4.5 break, continue, and goto
4.6 Scope and Lifetime
5. Functions
6. Arrays, Strings, and Your First STL Tools
7. Pointers and References
8. The Memory Model
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 4
Control Flow
Conditionals, switch, loops, range-based for, and block scope.
4.1
if, else, and the Dangling-else Trap
4.2
switch and Fallthrough
4.3
while, do-while, and for
4.4
Range-based for
4.5
break, continue, and goto
4.6
Scope and Lifetime