DEAR FRIENDS
I HAVE PROBLEM IN OPERATORS OVERLOADING
HELP ME IN THIS MATTER
TASK IS TO IMPLEMENT THE STRING CLASS WHICH IS CAPABLE OF HANDLING STRINGS.
OVERLOAD OPERATORS :
+= (CONCATINATION)
== (test string1 == string2)
= (string copy)
< (test string1 < string2)
> (test string1>string2)
! (test string empty)
>=(test string1 >= string2)
<= (test string1 <=string2)
!= (test string1!= string2)
your class should have only an
int length;
char *sptr;
as a private data member.
also write at least one utility function to make your concept clear them.
I NEED THE CODE OF THIS PROGRAM TODAY SO PLEASE HELP ME PROGRAM
THANKYOU