Hi, I've been working with this grammatical problem, which I guess, for about 5 to 6 hours with the book I have and Google but couldn't get a satisfactory answer. In fact I have no clue at all whether what kind of things I should be doing to solve this problem. Specificly, the problem I have is that although I've declared ostream operator << as friend, they still cannot approach the private variables. Can anyone tell me how to fix this messed code?