This is driving me nuts and I'm here at work without my books to help out. For some reason I thought that one didn't need to overload the "==" operator when comparing two objects of the same class but I get an error saying that it isn't defined with left hand operator of myclass. So I tried overloading the operator in the class but I must be doing something wrong because it just becomes circular. Here is what I have:
I have a feeling its something real easy to fix but for the life of me I can't figure it out.Code:bool board::operator ==(board& b) { return (*this==b); }