标签:style blog ar color sp on div log bs
1 wchar_t* c2w(const char *str) 2 { 3 int length = strlen(str)+1; 4 wchar_t *t = (wchar_t*)malloc(sizeof(wchar_t)*length); 5 memset(t,0,length*sizeof(wchar_t)); 6 MultiByteToWideChar(CP_ACP,0,str,strlen(str),t,length); 7 return t; 8 }
标签:style blog ar color sp on div log bs
原文地址:http://www.cnblogs.com/zsdydl-Neusoft/p/4148325.html