Doubly Nested Loops + Chars + Strings
Wrapping your head around doubly or triply-nested loops can be one of the harder things to comprehend, so we slowly worked through tracing the execution of a program, and I showed my approach toward making sure my mental model of what the computer is doing matches what is actually happening. Cout all the things! I do this even in Game Development.
We then went over a couple new things, including:
1) Unsigned integers (they're like integers, but can't be negative) and why you shouldn't use them in a lot of cases (underflow).
2) Always strive for 0 errors and 0 warnings in your code.
3) Chars hold ASCII characters. There's functions that tell you what sort of ASCII character they are
4) Be careful adding to chars as you can get an int by accident if you're not careful
5) You can add strings together
Other Videos By Bill Kerney
2021-09-23 | Niagara Part II |
2021-09-23 | Landscape + Foliage, Hitscan Weapons, Niagara Particle Effects |
2021-09-23 | Syllogisms |
2021-09-23 | Vectors vs. Arrays (i.e. why Vectors are better) |
2021-09-22 | Ethics in Autonomous Vehicles |
2021-09-21 | Karnaugh Maps, Simplifying If Statements |
2021-09-21 | Destructible Meshes - Blueprint Interactions |
2021-09-20 | Ethical Systems II - Is/Ought + Virtue Ethics |
2021-09-18 | Digital Logic II |
2021-09-17 | Making Video Games Interactive + Blueprints Coding |
2021-09-17 | Doubly Nested Loops + Chars + Strings |
2021-09-17 | Ethical Theories I |
2021-09-17 | Introducing Colorslib |
2021-09-16 | Voronoi Relaxation / Lloyd's Algorithm |
2021-09-15 | How to Approach Writing Code + Lvalues vs. Rvalues |
2021-09-15 | Truth Tables II + Denying the Antecedent + Affirming the Consequent |
2021-09-14 | Under the Hood I + Lighting + Special Effects in UE4 |
2021-09-14 | Introducing Readlib |
2021-09-14 | C++ I/O and Digital Logic |
2021-09-13 | Function Overloading and Commenting Code |
2021-09-13 | Truth Tables - AND, OR, NOT |