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: 1408 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-C++  type casting in c++  type casting classes c++  type casting commands in 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++?  "Casting,C++"  casting C++  basic data type to class type conversion in c++  c++ data casting  casting c++ objects  interpret casting,c++  declaring or casting c++  type conversion of basic to class type in C++  conversion from basic type to class type in C++  type conversion C++ basic to class type