13

C++ tough me that having 2 or 3 friends is ok in some situations, but its best to avoid them when possible.

Also, you cannot have friends outside of class.

Comments
  • 1
    Why don't you become a private friends for my class so that only I can access you.
  • 0
    I don’t get the u cannot have friends outside of classes part 🤔 mind explaining pretty please? 😊
  • 0
    @Electrux if you declare a friend outside of the class definition, it won't compile.

    And having friends from another class is against the spirit of tribalism we all love so much. Why would you want to spend time with loosers from social studies who don't even know how to fix their iPrinter, if you can hang out with nerds like us and play D&D in my mom's basement?
  • 0
    @infinite-lifes ah I see... yea that makes sense because what wud the friend functions be friended to if they r declared outside of classes 😎😎👍🏻👍🏻
    And count me in for D&D 😁😁
Add Comment