Start using Asserts in your C++ code to ×2.3 its quality!
HTML-код
- Опубликовано: 17 сен 2024
- In this video, I will show you how to use asserts.
#cpp #programming
Join my Discord:
/ discord
Check out How I Write C++ ✒️
• Why I write C++ like i...
Or How I handle Memory in C++ (no more leaks) 💦
• What I do to never hav...
Use my assertion function 👍
Note I only wrote the windows implementation, for Linux there is just a place holder, so it compiles on Linux.
Also note that you need to #define INTERNAL_BUILD 1
to allow for debugging features for the assert for the developer. You can just do that at the top of the file. Setting it to 0 won't allow the user to ignore the assert or to debug.
github.com/mee...
Wishlist Midnight Arrow:
store.steampow...
Join this channel if you want to support me 😻:
/ @lowlevelgamedev9330