friend function and friend classes...usage question??
My question is to get a better understanding of C++ usage, or the frequenz of using different aspects of the language.
Are friend functions/classes used a lot in C++ OOP. Since one classe cannot communicate with the private functions and members of another class, is friend one of the most used keyword to allow that or are there other ways... what do programers do in that case.
I am asking because my professor told us that we wont need friend functions/classes much in the real world. however I have the feeling that they are more important than he told us!!!!