Was wondering if anyone could help, basically i want to shift some elements in an array when new ones are added.
My Array contains: <1,2,3,4,5>
Then i add the following elements: 6 and 7
So i would like my array to end up looking like this: <3,4,5,6,7>
So basically when a new element is added, it removes the first one, shifts the others a long and then addeds the new one elements at the end.
Just wondering if someone could help explain to me the best way to do this.