#ifndef MYSTRING_H #define MYSTRING_H #include class myString { private: char* data; int size; public: myString(); myString(char*); myString(myString const&); ~myString(); myString const& operator=(myString const&); bool operator<(myString const&) const; bool operator>(myString const&) const; bool operator<=(myString const&) const; bool operator>=(myString const&) const; bool operator==(myString const&) const; char& operator[](int); char const& operator[](int) const; myString& append(myString const&); myString& reserve(int); int length() const; friend std::ostream& operator<<(std::ostream&, myString&); friend std::istream& operator>>(std::istream&, myString&); }; #endif // MYSTRING_H