Summary


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.




Creating Games in C++(c) A Step-by-Step Guide
Creating Games in C++: A Step-by-Step Guide
ISBN: 0735714347
EAN: 2147483647
Year: N/A
Pages: 148

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net