string转CString
std::string s="lskdjflkdjf";
CString str=s.c_str();
CString转string
USES_CONVERSION;
CString temp;
temp=_T("kjdsaflkjdlfkj");
char* s_char=W2A(temp);
std::string ss=s_char;