0
Why is the friend?
Why is the friend keyword when both getter and setter can solve this problem, so why should I use it or when should I use this keyword?
2 ответов
+ 2
I see you have completed the C++ tutorial 👍
Maybe you forget this chapter
https://www.sololearn.com/learn/CPlusPlus/1899/?ref=app
0
I’ve seen it more than once, but I don’t know what is the reason why I should use this keyword, what is the situation where it is necessary to use it?