Вот что плучается в первом случае:
CvCity.cpp
CvCity.cpp(4309) : error C2664: 'strcmp' : cannot convert parameter 1 from 'CvWString' to 'const char *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Process terminated with status 2 (0 minutes, 8 seconds)
1 errors, 0 warnings
А вот что во втором:
CvCity.cpp
CvCity.cpp(4309) : error C2664: 'strcmp' : cannot convert parameter 1 from 'const wchar *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Process terminated with status 2 (0 minutes, 7 seconds)
1 errors, 0 warnings




Ответить с цитированием