I want to declare a overloaded function that has 2 parameters like this:
bool operator==(const String &first, const String &second);
how to declare it in a class....please help me....
Printable View
I want to declare a overloaded function that has 2 parameters like this:
bool operator==(const String &first, const String &second);
how to declare it in a class....please help me....
Do not declare it in a class, it should be a free function.
And possibly a friend.