| | | | | |

Class String Public Interface

// comparison operators
int operator == (const String& S1, const String& S2);
int operator != (const String& S1, const String& S2);
int operator <  (const String& S1, const String& S2);
int operator <= (const String& S1, const String& S2);
int operator >= (const String& S1, const String& S2);
int operator >  (const String& S1, const String& S2);

// I/O operators (these will become friends during implementation)
ostream& operator << (ostream& os, const String& S);
istream& operator >> (istream& is, String& S);

| | Top of Page | 3. C Strings, Proper Type, and String Objects - 7 of 17