Const Variables and Debugging C++
Channel:
Subscribers:
2,650
Published on ● Video Link: https://www.youtube.com/watch?v=YRV9aXRInmU
If you have a variable that shouldn't change, mark it as const. You should also use const to avoid having magic numbers in your code, to make your code more readable and maintainable, and to enable certain optimizations.
Bugs in C++ fall into three main categories:
1) Compile time bugs
2) Run time bugs
3) WTF bugs
Other Videos By Bill Kerney
2023-10-31 | UE5: Spooky Land Mine |
2023-10-30 | C++: Structs |
2023-10-30 | C++: Smarter Sorting Functions |
2023-10-26 | Dot Product and Cross Product |
2023-10-25 | Debugging with GDB |
2023-10-25 | UNIX Commands for 10/25/23 Lab |
2023-10-24 | Worked Solution: Making a Quake 1 Mod |
2023-10-24 | Brainstorming Session |
2023-10-24 | Waterfall, Agile, TDD |
2023-10-20 | We Do A Little Trolling |
2023-10-18 | Const Variables and Debugging C++ |
2023-10-17 | UE5: Niagara Effects and Systems |
2023-10-17 | Quick Introduction to Raylib |
2023-10-17 | Weird Corners of C++: Any, Variant, Optional |
2023-10-16 | Worked Solution: Data Science + CSV Parsing |
2023-10-14 | 27 Useful Vim Commands |
2023-10-14 | C++: Things you can do with vectors |
2023-10-14 | Lab Time Week 10: Use Kaggle to Get a Dataset |
2023-10-12 | UE5: Using Animation Notifies to Spice Up your Game |
2023-10-11 | C++: Static Variables, Big Ints, Dynamic Programming |
2023-10-10 | UE5: Implementing Different Weapons/Spells |