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
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