【原创】 VC++各种字符串类型转换
摘要:
包括VC编程时常用的Unicode和Char互转,CString和std::string互转, 其他的转换可以由这个几个转化间接得到// convert.h 1 2 #include <string> 3 4 #ifndef _CONVERT_H_ 5 #define _CONVERT_H_ 6 7 8 class CConvert 9 {10 public:11 CConvert(void);12 virtual ~CConvert(void);13 14 static int Ansi2Unicode(__in const char* pSrc, ... 阅读全文
posted @ 2013-04-16 16:58 崔好好 阅读(380) 评论(0) 推荐(0)
浙公网安备 33010602011771号