I am new to C++.
Can you access the value of a private member variable of one class from a member function of another class?
If so how? If not what are some other ways to get the value of a private member variable so it can be accessed outside of its class?
Thanks
Danny
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.