
Learn basic math and if statements in C++ by building a dungeon game that asks for name, age, and favorite number, then calculates years in the dungeon using conditional logic.
Explore while loops by building a simple character setup with hp, strength, defense, and agility, using input choices to set stats and validate options.
Explore function theory by comparing functions to task-oriented friends; some have no parameters and void return types, while others take inputs and return numbers, and can be called repeatedly.
Define and call functions in C++, covering void, return type, and parameterized forms. Emphasize modular design, reusability, and using functions within expressions with examples like pi and addition.
Create glub and mimic as subclasses of character, set their stats in constructors, and test name getters and damage in main to practice inheritance.
Understand how pointers hold memory addresses, use the ampersand to obtain a variable’s address, and apply the dereference (star) operator to read or modify its value.
In this course I'll start out your C++ journey from the beginning and move you through advanced whilst moving towards making a little dungeon game.
Everything is in here from the very starting points, so the course is good for beginners or those returning to C++ who want to brush up on their skills. At the college I used to teach at, this content would cover subjects C++ 1, C++ 2 and Basic Game Dev with C++ (each of those subjects cost like $1.5k AUD). If you are studying at a Uni or College, this course makes a good companion resource for those you with C++ subjects.
Through out the course I provide project check points and reference projects if you get lost along the way. This course runs a bit over 16hrs, so take your time on it. Here is a list of some of the things we run through on this course:
variables and math
input and output
if statement, while and for loops
arrays, 1d and 2d
classes, inheritance and polymorphism
pointers and dynamic memory
rendering and animation
basic 2d game logic
and a bunch more!
C++ is still very relevant in many software engineering jobs but also to lots of game engines such as Unreal. Its a good starting language for many looking to get into software development of some kind.
Let's make a sweet dungeon game!