Abuse of Object oriented programming today
Well today I violated one of the cores of Object oriented programming. I had 3 classes where I needed access to the private members from another class. I found that C++ you can not only have the friend functions (I knew this one for years) but I figured it would follow if you can have friend functions there should be a way to have a friend object. Well I found my friend object, it is very easy to use just do “friend class