What does this mean that "friendship isn''t transitive, C/C++ Programming

What does this mean that "friendship isn't transitive, inherited or reciprocal"?

A: As I grant you friendship access to me doesn't grant your kids automatically access to me, doesn't grant your friends automatically access to me, and doesn't grant me automatically access to you.

 

I don't essentially trust the kids of my friends. The privileges of friendship aren't inherited. Derived classes of a friend aren't essentially friends. If class Fred declares which class Base is a friend, classes derived from Base don't contain any automatic special access rights to Fred objects.

I don't essentially trust the friends of mine friends. The privileges of friendship aren't transitive. A friend of a friend isn't essentially a friend. If class Fred declares class Wilma such as a friend, and class Wilma declares class Betty such as a friend, class Betty doesn't essentially have any special access rights to Fred objects.

You don't essentially trust me simply since I declare you my friend. The privileges of friendship aren't reciprocal. If class Fred declares which class Wilma is a friend, Wilma objects contain special access to Fred objects however Fred objects do not have special access to Wilma objects automatically.

 

Posted Date: 3/20/2013 4:06:47 AM | Location : United States







Related Discussions:- What does this mean that "friendship isn''t transitive, Assignment Help, Ask Question on What does this mean that "friendship isn''t transitive, Get Answer, Expert's Help, What does this mean that "friendship isn''t transitive Discussions

Write discussion on What does this mean that "friendship isn''t transitive
Your posts are moderated
Related Questions
6#666#665533999 where # is used as space.output is monkey

Rules of function: Inline function created without prototype it reduces the memory and it is used only for small function. Inline function cannot have recursion, static var

C Program for SORTING # include stdio.h> void main() {           char a;           int *p;           int i,j,temp;           clrscr();           p=&i;

A name clash happens when a name is described in more than one place. For example, two dissimilar class libraries could give two different classes the similar name. If you try to u

What are  Id e n t i f ie rs a n d C o n s t a n ts in C++? Id e n t i f ie r a n d C o n s t a n t : I d e n t i f ie r

You are working for a computer gaming company and have been asked to look at a survival game.  You will be simulating a rabbit stranded on an island, collecting a large number of s

Project Description: We are aiming to prepare an industry first in the m-commerce world. M-commerce payment processing programmers required Skills required are C Programmi

The code contains two built-in pitfalls. First one, if it executes in a member function for an static, extern or automatic object, the program will possibly crash as soon as the de

I need Asp .net Facebook app project completion Project Description: We are urgently seeking a few remaining items to be completed, and the project to be deployed to live.

Aim: To implement a program for bank account using static data type. Code: class bank {             static int acc_no;             int acc;             float b