Creating Games in C++: A Step-by-Step Guide

Most professional game engines and code libraries make heavy use of overloading. A good example is LlamaWorks2D. As you continue reading this book, you'll see that almost every class in the LlamaWorks2D game engine has overloaded constructors, member functions, or operators. Therefore, you'll see many examples of everything you've learned in this chapter.

Warning

Never let your program divide by 0. The value 0 should never be in the right operand. If you let this mistake occur, it will crash your program.

Категории