Re: [ns] How to use both otcl and C++?????

2006-04-16 Thread guzinu
Hi Asma, You must write your own command function in your c++ code.For Example, your class name is MyAgent and then it must contain a member function called by "command" . Via this function, you can call functions that are defined in your class (MyAgent). This function provides you contr

[ns] How to use both otcl and C++?????

2006-04-15 Thread BENMESSAOUD ASMA
Hi every body , I want to integrate in my program (in ns2.29) some functions written in C++ and my problem is how to call them from a tcl script ?how to use the commands which establish a link about the two programs ? i already read that tclcl can do it but how, i ignor it ? Please help me to