I am getting the following error msg:
This is the code that relates to it :Code:Type mismatch in redeclaration of 'operator <<(ostream &,const String &)'
ThanxCode://this is in the struct friend ostream& operator <<( ostream& out, const String& wrd); //this is the fnct ostream& operator <<( ostream& out, const String& wrd) { out << wrd.str; return out; }