answersLogoWhite

0

What else can I help you with?

Related Questions

What is friend datatype in object-oriented programming?

A friend is any class, class method or function that is declared to be a friend of a class. Friends have private access to the classes that declare them friends.


Who is on Justin's friend list in his class?

yes Justin biber as friends in his class


What is friend constructor?

A friend constructor is a constructor that is declared a friend of another class and that grants that constructor private access to the class in which it is declared a friend. Example: class Y { friend char* X::foo (int); // friend function friend X::X (char); // constructors can be friends friend X::~X(); // destructors can be friends }; For more information, see '11.3 Friends' in the current ISO C++ Standard.


What is the latent function of friends?

The only function of a friend is to extend the private class interface outwith the class, essentially making the friend part of the class interface.


What do you do when your best friend is placed in a different class and becomes best friends with someone else?

try to become friends with that person that your best friend is friends with. MAybe you can become a trio.


What are the privileges granted to friend function?

Friend functions (and classes) have private access to the classes that declare them as friends. Although they have the same access rights as members of the class itself, friends are not themselves members of the class and cannot be inherited.


Does he like you as a friend?

well, if you basically talk in class or out of class he or she probably likes you as a friend. But if you joke around and play hit each other you are probably more than friends


How friend function in c plus plus created?

Within a class declaration, include the following:friend ;For example:friend class MyClass; // friend classfriend void MyClass::SomeFunction(); // friend class method.friend void MyFunction(); // friend function.When declaring friend functions and friend class methods, you must declare an unambiguous prototype, including its return type and its parameter types, and all instances of the const keyword. If the function prototype is contained in another file, that file must also be included in the class declaration file.Friends can be declared anywhere in a class declaration. However, friends cannot be inherited so it doesn't matter if they're declared public, private or protected (access specifiers have no meaning to friends). But be aware that friends have privileged access to all members, including private and protected members. This is said to undermine the fundamentals of encapsulation, however the purpose of a friend is to extend the class interface, and is no more an undermining of encapsulation than is public inheritance. However, access should be limited to as few friends as possible; a class with many friends implies a fundamental design flaw in the class.


How can you not be so nervous that you won't get in a friends class or that a bully will be in your class if you are shy and unsocial and you have many bullies?

try to calm down because in every class you always have a friend or you make a friend plus im shy and unsocial too that's why i was voted quitest in my class but if the bully's in your class they can't do anything to you in class.


What is taylors best friends name?

Her best friend is Abigail Anderson. They met in English class at Hendersonville High. :)


One of my friends is started dating a guy who is in her class but he was in my class last year and was a pervert to one of my other friends so she hates his guts but he said he was pretending?

tell ur friend that your other friend hates him and try to work things out he's probably just saying that he was pretending to act like that and think of what he'll act like if you go to the movie with your friend that doesn't like him and your boy friend


How do you make friends with boys?

the same way you make friends with girls.