Described friend?, C/C++ Programming

A: Something to let your class to grant access to another class or function.

Friends may be either classes or functions. Class grants access privileges to its friends. In general a developer has political & technical control on both the friend & member functions of a class (else you may require getting permission from the owner of the other pieces while you wish to update your own class).

 

Posted Date: 3/20/2013 4:01:04 AM | Location : United States







Related Discussions:- Described friend?, Assignment Help, Ask Question on Described friend?, Get Answer, Expert's Help, Described friend? Discussions

Write discussion on Described friend?
Your posts are moderated
Related Questions
write a javaprogram to solve padovan string using java? program in java // aakash , suraj , prem sasi kumar kamaraj college program 1 : package test.padovanstring;

A: In C++ there is a main difference among a template and a macro. Merely a macro is a string which the compiler replaces along with the value that was defined. For example #define

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Define Array of Structures? An Array of Structures is an assortment of the same data types which are declared as structures. It is useful to store large and different number of


Explain a class to model a banking system. The function members should allow initializing the data members, a query to facilitate for account and a facility to deposit and with

Explain the Macros? Preprocessor' is a translation stage that is applied to your source code before the compiler proper gets its hands on it. Usually the preprocessor performs


#include stdio.h   struct  complex   {   float real;   float imag;   };   struct complex complexadd(struct complex,struct  complex);   void main()     {          Date: 26