c++ std::string '==' operator and Compare method is return 1 to equal string : [the data of str1 and str2][1]


  [1]: http://i.stack.imgur.com/TeVzJ.png

motion->bone_frames[0].name == model->bones[0].bone_name// return 0 . it should be 1

motion->bone_frames[0].name.Compare(model->bones[0].bone_name)// return 1 . it should be 0

wcscmp(motion->bone_frames[0].name.c_str(), model->bones[0].bone_name.c_str()) // return 0 . it should be 0



I cant understand std::string compare function why have different result to wcscmp.

Can i know why these results are different?
Is it cause of different is length?
