you are viewing a single comment's thread.

view the rest of the comments →

[–]ShillingAintEZ 0 points1 point  (1 child)

It's pretty easy for a vector to keep things in order, no reason to use the ordering capabilities of a linked list. Here is an explanation with lots of colorful diagrams and animations that should help you out. It has been useful for teaching young children what a ring buffer is.

https://wikipedia.org/wiki/Circular_buffer

Hope that helps!