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

[ns] Re: your mail



> Hello all
> 	in the file classifier.cc........
> 	in function recv...
> 	at one place it calls classify function as
> 	int cl = Classifier::classify(p);
> 	which classify function is this? It is not classify function of
> classifier.cc 'coz I gave a printf statement in that and it didnt take
> place.......so which classify function is this...............??
> 	Does it go to classifier-addr.cc.......I also gave a printf there
> and that was also having same fate.

classify is a virtual function. So, the one invocated should be that one 
of  classifier-addr.cc, which is the defualt classifier.

Carlos


> 	
> 
> 
> Regards,
> 
> 
> ===============================================================================
> " Mistakes that don't kill you, can only make you stronger "
> 
> Pushpendra Singh
> C-35,Nilgiri House
> IIT Campus,New Delhi
> E-mail:	[email protected]
> 	[email protected]
> 	[email protected]
> Ph.   : 91-11-6521278
> 
>              Visit me at:  www.cse.iitd.ernet.in/~csa99010
>                            
> ===============================================================================
> 
>