i searched there but tried with advance(it,1);
but getting runtime error.
count=0;
UList::iterator it2=l.begin();advance(it2,1);
for(UList::iterator it=l.begin();it!=l.end();it++,it2++)
{
if(it2->col_pos<l.size())advance(it2,1);
if(it->col_pos==(it2->col_pos-1))count++;
//printf("%d",count);
else if(count>=10){
t=((it->col_pos-count)+it->col_pos)/2;
for(k=it->row_pos_start;k<it->row_pos_end;k++)
img->imageData[k*step1+t]=0;
count=0;
}
//printf("%d\n",count);
}
________________________________
From: Snit Roy <[email protected]>
To: [email protected]
Sent: Sunday, April 26, 2009 10:27:18 PM
Subject: Re: [c-prog] noobs question on list stl.........................
none available.
____________ _________ _________ __
From: Paul <asobihoudai@ yahoo.com>
To: c-p...@yahoogroups. com
Sent: Sunday, April 26, 2009 10:40:59 AM
Subject: Re: [c-prog] noobs question on list stl......... ......... .......
____________ _________ _________ __
From: Snit Roy <coolsa...@ymail. com>
To: c-p...@yahoogroups. com
Sent: Sunday, April 26, 2009 12:55:49 AM
Subject: Re: [c-prog] noobs question on list stl......... ......... ......
i m not good in english.what dat min by alienting?
If you can't speak English well, I think it'd probably be a LOT easier to find
help in a forum in your native tongue.
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]