Re: [ns] SplitObject error after adding a simple print function

2008-10-10 Thread Mayur
Asraf wrote: > I am trying to print out the route table, and rt_print function in aodv.cc > plus this code on in AODV::command: > > int > AODV::command(int argc, const char*const* argv) { > ... > ... > else if (strcasecmp(argv[1], "rt_print") == 0) {// print routing tables to a > file > FI

[ns] SplitObject error after adding a simple print function

2008-10-09 Thread Asraf
I am trying to print out the route table, and rt_print function in aodv.cc plus this code on in AODV::command: int AODV::command(int argc, const char*const* argv) { ... ... else if (strcasecmp(argv[1], "rt_print") == 0) {// print routing tables to a file FILE *fp = fopen("route.txt","a")