摘要:
BOOL IsDirectory(LPCTSTR pstrPath) { if (NULL == pstrPath) { return FALSE; } /*去除路径末尾的反斜杠*/ CString strPath = pstrPath; if (strPath.Right(1) == _T('\\ 阅读全文
摘要:
string strHouseId = "abcd"; const char *pC1 = strHouseId.c_str(); strHouseId = "1234"; const char *pC2 = strHouseId.c_str(); 此时的pC1和pC2内容一样 string的c_s 阅读全文