Николай Веселуха
Высший разум
(380347)
13 лет назад
#include <string>
....
....
....
if (s1.compare(s2) != 0)
////////////////////////////////////////////
int compare ( const string& str ) const;
int compare ( const char* s ) const;
int compare ( size_t pos1, size_t n1, const string& str ) const;
int compare ( size_t pos1, size_t n1, const char* s) const;
int compare ( size_t pos1, size_t n1, const string& str, size_t pos2, size_t n2 ) const;
int compare ( size_t pos1, size_t n1, const char* s, size_t n2) const;