Re: [ns] Debugging ns code (.cc files) with print statements

2011-03-17 Thread Ns Learner
is located and give ../../ns file1.tcl Thanks to my teachers who helped me by pointing out my mistake. --- On Thu, 17/3/11, Ns Learner ns2.lear...@yahoo.com.au wrote: From: Ns Learner ns2.lear...@yahoo.com.au Subject: Re: [ns] Debugging ns code (.cc files) with print statements To: pedro chaparro pdr

Re: [ns] Debugging ns code (.cc files) with print statements

2011-03-16 Thread Ns Learner
: [ns] Debugging ns code (.cc files) with print statements To: Ns Learner ns2.lear...@yahoo.com.au Received: Thursday, 17 March, 2011, 4:42 AM u can use printf, bu cout should works too!!! 2011/3/14 Ns Learner ns2.lear...@yahoo.com.au Hello, I am trying to debug ns code (.cc files) with print

Re: [ns] Debugging ns code (.cc files) with print statements

2011-03-16 Thread Ns Learner
: Re: [ns] Debugging ns code (.cc files) with print statements To: ns-users@ISI.EDU Received: Thursday, 17 March, 2011, 4:28 AM Ns Learner wrote: With cout, I get this error message: error: ISO C++ forbids declaration of ‘cout’ with no type error: expected ‘;’ before ‘’ token Do not use

[ns] Debugging ns code (.cc files) with print statements

2011-03-13 Thread Ns Learner
Hello, I am trying to debug ns code (.cc files) with print or cout statements. With cout, I get this error message: error: ISO C++ forbids declaration of ‘cout’ with no type error: expected ‘;’ before ‘’ token I tried inserting using namespace std and it still gives me an error message.