strcmp函数中参数是const char *类型。不能直接传递CString类型的参数。必须加类型转换。CString ss,(const char*)(LPCTSTR)ss进行转换,然后传递给strcmp函数。