In java we have .equals()

but in C++ I can not find it ? I have tryed strcmp but it doesn't work.

Any suggestion?