[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Need to append $sink with C++ variable like $sinkvar



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