Yes the string class has overloaded assignment operator function,thats why it throws an error .Is it possible to use g++ compiler option to deselect the in built function ,so that the user defined...
String.h has the following operator overloading function which is an user defined
//declaration
int operator==(char *ch)
//definition
int String::operator==(char *ch)
{
if...