Sams Teach Yourself C++ in One Hour a Day, Eighth Edition by Siddhartha Rao

Sams Teach Yourself C++ in One Hour a Day, Eighth Edition by Siddhartha Rao

Author:Siddhartha Rao
Language: eng
Format: epub
Publisher: Sams Publishing
Published: 2017-07-15T00:00:00+00:00


Casting is a mechanism by which the programmer can temporarily or permanently change the interpretation of an object by the compiler. Note that this does not imply that the programmer changes the object itself—he simply changes the interpretation thereof. Operators that change the interpretation of an object are called casting operators.

In this lesson, you learn

The need for casting operators

Why C-style casts are not popular with some C++ programmers

The four C++ casting operators

The concepts of upcasting and downcasting

Why C++ casting operators are not all-time favorites either



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.