how to match 2 string using operators in C++ code example Example: compare string c++ int compare (const string& str) const;