Probably he says also that void main is ok....Originally Posted by curlious
As far as I know, friend functions are defined by who creates the class, therefore the encapsulation argument, for me, is non-sense.
GaPe, those strange numbers are obviously memory adresses. You need some where to de-reference a pointer.