摘要:
#include<windows.h>#include<stdio.h>//function:charTowchar//purpose:chartoWCHAR、wchar_t、LPWSTRetcvoidcharTowchar(constchar*chr,wchar_t*wchar,intsize){MultiByteToWideChar(CP_ACP,0,chr,strlen(chr)+1,wchar,size/sizeof(wchar[0]));}//function:wcharTochar//purpose:WCHAR、wchar_t、LPWSTRtocharvoi 阅读全文