[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] how to access member variable in difference class



u must declare these classes to be friends. Or you can have methods that
let you access and change the variables.

debo

On Fri, 18 May 2001, liu yong wrote:

> Hi all,
>      I want to access one member variable of one class(in one c++ file) in another member function of different  class which is in other differrent c++file.I found it is difficult to add my code to the current C++ files in ns2 for the above reason.
> Thanks  
> Best Regards,
>   liu yong
>   [email protected]
> 
>