I declare these below data
Code:
CString Hash[2] = {"208803DD4D","146DB1CB1C"};
CArray<unsigned char, unsigned char> hashdata;
and hashdata have some value
I compare CArray and CString like these
Code:
if (hashdata == Hash[0])
{
......
.....
.....
}
but there is error message show
error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'const class CArray<unsigned char,unsigned char>' (or there is no acceptable conversion)
Do I need to change CArray to other type of data? If you know how to solve my problem, please tell me.
Thank you very much.