void string::strempty()
{
int istrlen(line);
if(i0)
{
cout<<"The string is empty !";
}
else
{
cout<<"The string is not empty !";
}
}
string string::operator (string s1)
{
strcpy(line,s1.line);
return *this;
}
string string::operator + (string s1)
{
strcat(line,s1.line);
return *this;
}
void string::operator < (string s1)
{
int lstrlen(s1.line);
int mstrlen(line);
if(m
{
cout<<"less and equal";
}
else
{
cout<<"not less and equal";
}
}
void string::operator ! (string s1)
{
char n1[100];
strcpy(n1,s1.line);
int l;
lstrlen(line);
int m;
mstrlen(n1);
if(l!m)