(Page 1 of 5 )Friend classes in C++ give us access to non-member functions or other classes. In this article Kais shows us exactly how and why we should use friend classes and functions.This new “C++ Tricks of the Trade” series of articles will show you how to write efficient yet maintainable C++ code, as well as explaining how to avoid common programming pitfalls.In this introductory article, Kais discusses how to use friend functions to enhance a class interface.Next: Friendly Frien 
continue >>




Author:
admin
Time:
Sunday, February 10th, 2008 at 10:40 am
Category:
Useful Tutorials
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply