Hi, all... I have a problem when trying to reallocate a vector for a second time inside a loop.
The order is somelike:
for (n=k; n<L; n++)
{
vector.resize(n, (long) 0);
...
vector.clear(); //[Or alternativelly vector.resize(1);]
}
The loop first loop is executed appropriatelly, but after first increment of n, i get a crash of the heap... (when trying to resize the vector again... with n-zeros)
Has anyone any idea?
Thanks