摘要: char 转wchar_t 及wchar_t转char原文来自 http://haofu123.blog.163.com/blog/static/178294920096243161997/利用widechartomultibyte来转换的函数通常适合于window平台上使用#include<tchar.h>#include<windows.h>int_tmain(intargc,_tchar*argv[]){wchar_tpwstr[]=l"我是中国人";wchar_tpwstr2[20];char*pcstr=(char*)malloc(size 阅读全文
posted @ 2012-03-31 20:51 吴豆豆 阅读(71258) 评论(5) 推荐(1) 编辑