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
how to declare multi dimensional array

Unlike C++, other programming languages have associative arrays that allow array indices to be strings instead of just integers. You are to create a template class, SVector, that i


finds the average for all assignments for an individual student float getAverageForStudent(float scores[20][10], int student, int numAssignments) {  }  // finds the average for

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. #include float start_point,

Write a program to calculate the average of ten numbers       #include stdio.h     /* Only this header is needed since only IO are used */     void main()     {          char

Program is to perform all the functions that are performed in a super bazaar: class stock   {   private:     int itno;     char itname[20];     char brname[20];

if one won't explicitly call the destructor of a local; then how does he handle the above situation?

C program to demonstrate call by reference: void disp(int *,int*,int*,int*); void main() {                 int a=2,b=3, sum,mul;                 printf("Enter 1st n

Project Description: Design and prepare software that can navigate a mobile robot using SLAM technique using vision sensor (camera). Skills required are C Programming, Engine