Back to Browse

Simple C++ Game -- Part07 -- Using C++ Structs and Classes to organize code

629 views
May 21, 2022
25:55

Part 08: https://youtu.be/HAPojPO_BfU This video continues the Simple C++ game engine development tutorial on Linux for beginners by using C++ structs and classes to organize the code. We will instantiate the C++ classes / structs with the constructor. I discuss the difference between a struct and a class. I also show you how to use std::rand the C++ random number generator to get a random number within a range. Discord Server: https://discord.gg/Qq5sAH3nPA Web: https://punchedtapemedia.com/x11game-part-07 Source Code: https://github.com/punchedtapemedia/x11game In this video I will show you: - C++ structs and classes and the difference between them - C++ random number generator within a range - How to use the modulus % operator Why use X11 / Xlib?? It's very easy to use and it's ubiquitous on essentially all Linux platforms.

Download

0 formats

No download links available.

Simple C++ Game -- Part07 -- Using C++ Structs and Classes to organize code | NatokHD