How can i make a friend function if that function is the member of another class?
This is a discussion on Friend functions within the C++ Programming forums, part of the General Programming Boards category; How can i make a friend function if that function is the member of another class?...
How can i make a friend function if that function is the member of another class?
not 100% sure on it but:
Code:friend return_type class_name::func_name(parameter_list);
That gives you error but making the class friend fixed it, thanks![]()