Possible Duplicate:When should static_cast, dynamic_cast and reinterpret_cast be used? With this C++ code,char* a = (char*) b; I got warning warning: use of old-style cast. What would be the new-style cast?
Possible Duplicate:When should static_cast, dynamic_cast and reinterpret_cast be used?
With this C++ code,
char* a = (char*) b;
I got warning warning: use of old-style cast.
warning: use of old-style cast
What would be the new-style cast?