Hello;
I need some help please.
how can I recuperate a mobile node coordinates to use them for my
routing protocol?
In fact ; I have already included the mobilenode.h (#include
"mobilenode.h") in my protocolxxx.h file and I put
(MobileNode *node_ ) on it (exactly in the constructor) ,I tried to
invocate the metod "X()" so I wrote :( node_ ->X() ) ; I have a
"segmentation fault" as a result when I try a TCL .So my second tentative
was to use an instance of MobileNode and not a pointer any more what
means ( MobileNode node_ ) and the call for the method is ( node_ .X() ) ,
I do not find a "segmentation fault" any more but I realize that the
coordinates are always equals to 0.0 so I resume that there is a
problem.
Please ,I need help ,it is an emergency and so important ;it is for
my project and I'm in short of time.What files I need to modify
(*.h,*.cc,*.tcl or others)
Thanks in advance.
Fatma
---------------------------------
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement
vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et
suivez l'actualité en temps réel. Cliquez ici.