CString string
代码如下:
其中CString strTemp; string st;
if(strTemp == st)
编译错误:
error C2679: binary '==' : no operator defined which takes a right-hand operand of type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' (or
there is no acceptable conversion)
是不是这两个之间得转化一下啊?