PHPYRAMID
PHPYRAMID  
Search :
 
 
Login Sign up Shoping Contact
Article Home
HTML
PHP - MySQL
ASP - ASP.NET
JavaScript
Ajax
MSSQL - Access
Photoshop
CorelDRAW Graphic Suite
Freehand Tutorial
phpBB
vBulletin
phpNuke
Mambo - Joomla
Other CMS programs
Microsoft .NET
RSS
Font Tutorials
Microsoft Office
HTML
Last templates
 


   
aaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
[ HTML ] [ Tuesday 11th May 2010 ] [ Visit : 293 ]
 

   
Visual C++.NET --- Friendship and inheritance
In principle, private and protected members of a class cannot be accessed from outside the same class in which they are declared. However, this rule does not affect friends. Friends are functions or classes declared as such. If we want to declare an external function as friend of a class, thus allowing this function to have access to the private and protected members of this class, we do it by declaring a prototype of this external function within the class, and preceding it with the keyword friend:
[ HTML ] [ Monday 02nd July 2007 ] [ Visit : 318 ]
 


1 


 

   


 
HOME   FORUM    ABOUT   PRODUCTS   ORDER   DOWNLOADS   MARKETING
Copyright © 2007 By PHPYRAMID
All rights reserved for PHPYRAMID Co.