CString origw("fabregas");
const size_t newsizew = (origw.GetLength() + 1)*2; char *nstringw = new char[newsizew]; size_t convertedCharsw = 0; wcstombs_s(&convertedCharsw, nstringw, newsizew, origw, _TRUNCATE );//nstringw为origw的char*字符串
cout<<nstringw<<endl; //输出fabregas