C++ introduces a new casting system, to replace the old C-style casting. You probably know, that you can promote a Integer to a Float by casting it like this : (float) 4. In C++ it is generally recommended to use static cast for this: static_cast<float>(4). While being a little mroe time-consuming this is also a lot safer !