If you find any bug or you want to add some useful function please email to me.Redistribution and use in source are permitted provided that: source distributions retain this entire copyright notice and comment.
C++编程之CString、string与、char数组的转换
虽然网上关于CString,string,char数组的转换的文章一大堆,但是感觉很乱很杂,而且许多并不能真正达到目的,在此,我把自己调试通过的转换方法贴到这里,做个笔记。
编译环境:vs2008, Use Unicode Character Set
//----------------ANSI字符串转换为UNICODE字符串----------------------//
// 待转换的数组
char szDCB