阅读背景:

从朋友类访问私有成员。

来源:互联网 

Rather than posting for help I wanted to try and figure this out on my own, but after hours of searching Google and watching countless youtube videos I am unsuccessful. What I am trying to do is create a friend class and then from that class access the private members of the "parent" class. I added the Rather than posting for help I wanted to try an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: