static_cast is same as C castOriginally Posted by ahluka
taken from MSDN:
There is a more detail explanation on each specific MSDN page and I'd encourage you to read them fully.The reinterpret_cast operator allows any pointer to be converted into any other pointer type. It also allows any integral type to be converted into any pointer type and vice versa
The static_cast operator converts expression to the [casted type] based solely on the types present in the expression. No run-time type check is made to ensure the safety of the conversion.r
The const_cast operator can be used to remove the const, volatile, and __unaligned attribute(s) from a class.
[and for completeneess]
The expression dynamic_cast<type-id>( expression ) converts the operand expression to an object of type type-id. The type-id must be a pointer or a reference to a previously defined class type or a pointer to void.
http://msdn.microsoft.com/library/de...express_71.asp