MENU

Fun & Interesting

Don't write comments, do this instead!

Low Level Game Dev 15,859 9 months ago
Video Not Working? Fix It Now

In this video, I will show you how to use asserts. #cpp #programming Join my Discord: https://discord.gg/eehehsPAka Check out How I Write C++ ✒️ https://youtu.be/jjjyw0J7gPs Or How I handle Memory in C++ (no more leaks) 💦 https://youtu.be/vjtm-a0xqB8 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/ourCraft/blob/d1739198cfa529e7df42f4128d054f48f5d306cb/include/platform/platformTools.h Wishlist Midnight Arrow: https://store.steampowered.com/app/2310670/Midnight_Arrow/ Join this channel if you want to support me 😻: https://www.youtube.com/channel/UChkC4u4KdnIDFh9hPqExLDg/join

Comment