I need in my application to resize at each step of a for loop 2 arrays. I have read that for reallocate memory, it's better to use <vector>, rather than use the definition of the usual pointer. But, as i'm a beginner in this kind of knowledges, i would like to know if someone could explain me how i could declare 2 arrays, with 2 differents size, so that at each step, as i use an iterative method, one of this array "becomes" the other.
thanks in advance
jayjay
thanks in advance
jayjay