friend function

hello every body i have really hard time nderstand my home work :$

if any one can tell me


[code] Digital studio for editing and printing photos needs to keep information of all its customers
Ignoring that text, a friend function is a function that is declared a friend inside that class. A friend function has the same rights as any member function of a class(like accessing private or protected data fields), however is not bound to a specific object. That is, it's called with friend_function(params) rather than object.member_function(params)
Topic archived. No new replies allowed.