Updating the elements of an array(The oldest element will be deleted after a new element has entered to array)
<p>I have a question but I don't know how to search about it, so wanted to ask you.
It may sound simple but I'm a kind of a newbie.</p>

<p>I'm coding in C++. I have 20 values in an array. I do some work on them and after the calculation, I need to add a new value to these 20 values and need to delete the oldest variable. A kind of updating the array with new values. </p>

<p>For example: 
My previous values : a,b,c,d, .... t<br>
My current values : b,c,d,e .... u</p>

<p>This process will go on under a loop as long as the condition is not satisfied.</p>

<p>So, my question is: Is there any specific structure or method to perform this task or do I have to handle this work manually ? (Actually, I could do it by writing an impractical method which could be enough for me but I don't think there might not be a dedicated stack structure for this work)</p>

<p>Thanks in advance.</p>
