CString m_str1;
CString m_str2;
CString m_str3;
//CString 转换为char*
char * strCharPointer;
strCharPointer = (LPSTR)(LPCSTR)m_str1;
//char* 转换为CString
m_str2.Format("%s", strCharPointer);
//CString转char[]
char stTmpArray[200];
memset(stTmpArray, 0, 200);
memcpy(stTmpArray,m_str2,m_str2.GetLength());
//char[]转CString
m_str3.Format("%s", stTmpArray);
工程:http://download.csdn.net/detail/dafenqie/9697410