Hi,
I think when you make changes to .cc modules, you need to make object file and link it to ns-2 package. After that you need to re compile entire ns-2.
It worked for me. I hope it works for you.
Best of luck.
Varad


On Wed, Aug 13, 2014 at 2:05 PM, Geethu Thulasidas <[log in to unmask]> wrote:
Hi all,
I am working on the vectorbasedforward.cc.
There is the god.cc to calculate the total consumed energy. But how can we reflect a change made in god.cc to vectorbasedforward.cc??
I wrote some functions in god.cc and tried to call them in vectorbasedforward.cc.
But when i displayed the values,it is showing zero. Can anyone help me in that?
regards,
geethu