>if you use string, you can directly use static_cast, >please refer to following code ...
social.msdn.microsoft.com