|
From: Kristian M. <kri...@ya...> - 2007-07-30 02:19:36
|
Hi, Matheus!=0A=0AThe typename hint has just worked, thanks a lot!=0A=0AKri= stian=0A=0A=0A----- Original Message ----=0AFrom: matheus ribeiro <mfribeir= o...@gm...>=0ATo: Kristian Magnani <kri...@ya...>=0ACc: dev-c= pp-...@li...=0ASent: Sunday, July 29, 2007 1:07:36 PM=0AS= ubject: Re: [Dev-C++] Iterator=0A=0AHi,=0A=0Atemplates can create a great m= ess sometimes. Try the following:=0A=0A@line 133:=0Atypename std::vector<Ar= voreB>::iterator it_filho;=0A=0AThis helps the compiler understand that ite= rator is a type.=0A=0A2007/7/29, Kristian Magnani <kri...@ya...= m>:=0A>=0A> Hi, all!=0A>=0A> I'm developing a B-Tree class as a template, b= ut I got an error I can't=0A> solve. The compiler complains that I should p= ut a ';'before the "it_filho"=0A> identifier in the line 133 of the attache= d file, but I really don't know why=0A> I can not declare such an iterator.= =0A>=0A> Does anyone know what I'm doing wrong?=0A>=0A> Thanks a lot,=0A>= =0A> Kristian=0A>=0A>=0A>=0A> ________________________________=0A> Pinpoin= t customers who are looking for what you sell.=0A> ------------------------= -------------------------------------------------=0A> This SF.net email is = sponsored by: Splunk Inc.=0A> Still grepping through log files to find prob= lems? Stop.=0A> Now Search log events and configuration files using AJAX a= nd a browser.=0A> Download your FREE copy of Splunk now >> http://get.splu= nk.com/=0A> _______________________________________________=0A> Dev-cpp-use= rs mailing list=0A> Dev...@li...=0A> TO UNSUBSCRIBE:= =0A> http://www23.brinkster.com/noicys/devcpp/ub.htm=0A> https://lists.sour= ceforge.net/lists/listinfo/dev-cpp-users=0A>=0A>=0A>=0A=0A=0A=0A=0A=0A=0A= =0A =0A______________________________________________________________= ______________________=0AGot a little couch potato? =0ACheck out fun summer= activities for kids.=0Ahttp://search.yahoo.com/search?fr=3Doni_on_mail&p= =3Dsummer+activities+for+kids&cs=3Dbz |