Hi,
Usually, you don't need to know where the main() in C++ is. This is because you start simulation in Tcl, not in C++. If you are curious, the function main is located in the following file: ns-2.35/ns_tclsh.cc Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.ece.ubc.ca/~teerawat http://www.t-issariyakul.blogspot.com http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear On 6/19/2010, "Prince George" <theprince...@live.com> wrote: > > >hello.i want to know in NS2 where is the main() function which is required to >compile and obtain the executables >for the backend C++ codes.I am unable to search and find the main() function >in NS2 which is the starting point >of execution. >_________________________________________________________________ >Bollywood This Decade >http://entertainment.in.msn.com/bollywoodthisdecade/ >