Start using Asserts in your C++ code to ×2.3 its quality!

Published: 24 July 2024
on channel: Low Level Game Dev
11,812
702

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 it is C?  

Or How I handle Memory in C++ (no more leaks) 💦
   • What I do to never have to worry abou...  

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.
https://github.com/meemknight/ourCraf...

Wishlist Midnight Arrow:
https://store.steampowered.com/app/23...

Join this channel if you want to support me 😻:
   / @lowlevelgamedev9330  


Watch video Start using Asserts in your C++ code to ×2.3 its quality! online without registration, duration hours minute second in high quality. This video was added by user Low Level Game Dev 24 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 11,812 once and liked it 702 people.