Networking, Programming and Graphics Tutorials

Type casting - C++ [1/1]

Type:
Type casting - C++
Level: Beginner Networking, Programming and Graphics Tutorials 
Type casting - C++
Date: 2006-Dec-04
Type casting - C++
Visited: 1524 times
Type casting - C++
Rating: Type casting - C++
Type casting - C++
Author: Alex Plumpton

Type Casting causes the program to treat a variable of one type as though it contains data of another type. Normally, this is used with a collection of pointers (addresses) to specify how to interpret the data. When casting is not used with object pointers, it normally means to simply copy the data between incompatible types without converting the data or flagging an error. The figure lists some examples for type casting of operators.

Format: Type name (Expression);

Type casting - C++
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Type casting - C++ [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: Type casting from basic to class type in c++  type casting and type conversion in c++  type casting + c++  type casting commands in c++  type casting array c  type casting a multidimensional array in c  type casting through operator overloading in c++  WHAT ARE TYPE CASTING? EXPLAIN IT WITH STATEMENT USING C++?  What is Type Casting? Explain it with Statement  casting C++