#ifndef __STR_H #define __STR_H #include class Str{ friend istream& operator >> (istream& is, Str &s); public: Str(); Str(const Str& src); Str(char* _str); ~Str(); char* getStr(){return str;} bool operator==(Str &src); Str& operator =(const Str &src); private: char* str; int curPos; }; #endif