Dear all,
I am just using a list<intiterator in a for loop to get the all
values in the list, like this:
for (list<int>::iterator
itt=labelLists[labels3X3cube[*iter]-1].begin();
itt!=labelLists[labels3X3cube[*iter]-1].end(); itt++ )
{
std::cout << labelLists[labels3X3cube[*iter]-1].size() <<
"___"<< (*itt) << "___" <<
*(labelLists[labels3X3cube[*iter]-1].end())<< std::endl;
si10 = labelLists[labels3X3cube[*iter]-1].size();
labels3X3cube[*itt] = currentLabel;
}
and write the size of the list __ present value ___ and the end value
of the list.
The values are like this:
4___26___0
4___25___0
3___23___6316800
3___17___6316800
3___0___6316800
3___26___6316800
3___25___6316800
3___23___6316800
3___17___6316800
3___0___6316800
3___26___6316800
3___25___6316800
3___23___6316800
3___17___6316800
3___0___6316800
....
and it repeats this pattern infinitely.
In the forloop i do not make any change in the list but something
happens. Can anyone help me in solving this problem.
Thanks in advance
burak