Math vs Code: 10 Concepts That Are Basically the Same! (With C++ Examples)

Math vs Code: 10 Concepts That Are Basically the Same! (With C++ Examples)

4.244 Lượt nghe
Math vs Code: 10 Concepts That Are Basically the Same! (With C++ Examples)
Check out *Math for Game Developers* 👉 https://www.youtube.com/playlist?list=PLCx70z_2M_-NUNmOlLn75rfaG8dzRIuKS ------------ Think math and programming are two separate worlds? Think again! In this video we break down 10 math symbols and their direct equivalents in C++ programming. #math #cpp *Timestamps* 00:00 - Introduction 00:50 - Sigma (∑) → for loops 01:22 - Pi (Π) → for loops 01:52 - Infinity (∞) → Infinite loops 02:25 - Empty Set (∅) → Empty containers 02:55 - Element of (∈) → Membership checks 03:20 - For All (∀) → all_of 04:11 - There Exists (∃) → any_of 04:41 - Implies (⇒) → Conditional statements 05:10 - Maps To (↦) → Lambda functions 05:28 - Contradiction (⊥) → Exceptions 06:01 - Conclusion