[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Need to append $sink with C++ variable like $sinkvar
Does it make sense if you use an array for "sink"?
Kun-chan Lan
On Sat, 4 Aug 2001, M. Ali Baig wrote:
> Hi,
> 
> Can someone tell how I can do the following..... in one of C++ codes.
> 
> 
> 
> 	int i= 2;
> 	tcl.eval("$ns connect $tcp0 $sinki")
> 
> The end result should be
> 	tcl.eval("$ns connect $tcp0 $sink2")
> 
> 
> looking forward to your thoughts or comments
> 
> 
> Muhammad Ali Baig
> 
> 
> 
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>