Okay, the problem here is stupidity... But that is not somthing that can be fixed :/
So anyways, I'm learning classes... Everything is going just fine and then I get to the section on the this pointer. I think I understand what the this pointer does... But some of the other code I don't understand.
I don't understand the line with '&' in it... I thought '&' was used for memory addresses...Code:softball& softball::topbat(softball& player) { if(player.ave > ave) return player; else return *this }
Help me out please.