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

[ns] printing variable in C++



Hi seniors,
	I was twikling the code of compute_routes() function in route.cc
file since a couple of days. I'm not able to see the values of the
variables (hopcnt(), ROUTE(), ROUTE_ENTRY()), whatever i print, they are
shown as zeros. I felt that a variable in C++ can't be printed directly.
If that is true, How to print them?

Thanks in Advance,

Regards,
Mahesh.



-- 
Mahesh D			Mahesh D
Project Associate Gr.I		Cauvery#312
ERNET				IITMadras
IITMadras			Ph#445-9071
Ph#445-8355