将string类型的plateNumber转换为CString类型的CStr
string plateNumber="1213212";
CString CSstr=_T("");
CSstr.Format(_T("%s"),plateNumber.Char_str.c_str());
将string类型的plateNumber转换为CString类型的CStr
string plateNumber="1213212";
CString CSstr=_T("");
CSstr.Format(_T("%s"),plateNumber.Char_str.c_str());