LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   C++ -link with TCL (https://www.linuxquestions.org/questions/linux-wireless-networking-41/c-link-with-tcl-4175464805/)

aryaayu 06-05-2013 05:09 AM

C++ -link with TCL
 
How to link C++ file to TCL script?

pan64 06-05-2013 07:00 AM

probably this helps: http://wiki.tcl.tk/13040 (or at least offers related links)

aryaayu 06-05-2013 12:42 PM

can you please give example for implementing an algorithm in C++ for ns2 with an example?

pan64 06-06-2013 12:24 AM

just google and find a suitable one:
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html
http://nile.wpi.edu/NS/
http://wsnlab.ir/how-to-install-cygwin-ns-2-in-windows/

aryaayu 06-25-2013 01:24 AM

Thank You. Another one doubt...While simulating in NS2, nodes color is green initially. But after certain seconds it automatically turns to yellow color and after sometime it turns to red color.I didnt give any explicit statement for color change.How do I solve this? Please help..

knudfl 06-25-2013 04:58 AM

# 5 .

I'd guess that some default colors are used, unless you specify.

Google .. nam colors ..
http://www.google.com/url?sa=t&rct=j...48293060,d.d2k

http://man.cx/nam%281%29

And probably : nam-1.1x/edu/

And .. $ grep color ns-2.xx/tcl/ex/*

-

aryaayu 06-25-2013 10:12 AM

Thank You. I ll try

aryaayu 07-01-2013 11:07 PM

1 Attachment(s)
When I try in Ns2, it shows the following error. I dont know how to trace out that line number. I have attached that error snapshot.Plz help me


All times are GMT -5. The time now is 06:33 AM.