Hey guys this should be an easy one for you, but I've been stressing for like an hour trying to figure out why c++ wont let me access a private data member via a friend function so i can overload the ...
Okay, I guess the friend functions don't have access to the private members. So i just defined x and y and used my set_x and set_y functions to take care of the rest.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results