//STRING.H
//Определение класса string(строка символов)
#ifndef MYSTRINGH
#define MYSTRINGH
const int DEFSTR=30;
class string
{
char *StrPtr;
int size;
public:
string();
string(int);
string(string&);
~string(){delete[] StrPtr;}
string&operator=(string&STRING);
string&operator=(char*st);
int operator==(string&STRING);
int operator==(char *st);
friend int operator==(char *st,string&STRING);
int operator!=(string&STRING);
int operator!=(char *st);
friend int operator!=(char *st,string&STRING);
friend ostream&operator<<(ostream&stream,string&STRING);
friend istream&operator>>(istream&stream,string&STRING);
};
#endif
