how to comapre the content of 2 string in C++ code example Example: compare string c++ int compare (const string& str) const;