1.operator !=
bool operator!=(const Mystring&other)const
{
return strcmp((str,other.str)!=0)
2.operator ==
bool operator==(const Mystring&other)const
{
return strcmp(str,other.str)==0)
3.
.operator <
bool operator!=(const Mystring&other)const
{
return strcmp(str,other.str)==-1)
4.
.operator >
bool operator!=(const Mystring&other)const
{
return strcmp(str,other.str)==1)
5.
.operator <=
bool operator<=(const Mystring&other)const
{
return strcmp(*this<other)||(*this==other)
6.
.operator >=
bool operator>=(const Mystring&other)const
{
return strcmp(*this>other)||(*this==other)