C++ Tutorial #21 – Exception Handling

Exception Handling - C++ Tutorial

In C++, we use exception handling (also called try/catch statements) to allow our program to react to conditions such as runtime errors. This is done by transferring control of the program to special functions called handlers.   To write an exception, you create a try & catch … Continue reading

C++ Tutorial #15 – Drawing Graphics on Screen Using SFML

Drawing Graphics on Screen SFML Tutorial

Today we’re going to take a break and install an API called SFML. For those of you who don’t know what an API is; an API stands for Application Programming Interface. It provides programmers with more tools for writing software. SFML stands for Simple and Fast Multimedia … Continue reading

C++ Tutorial #14 – Overloading Functions & Function Templates

Overloading Functions & Function Templates Tutorial

OVERLOADING FUNCTIONS   Overloading functions are functions that have the same name, but have different parameters. You can have different variable types in each function, or you can set multiple parameters. Overloading functions can be really cool, they can be useful for when you’re making a game. … Continue reading