Circular buffer

From: A.Cloos (a.cloos_at_mail.dk)
Date: 10/14/03


Date: Tue, 14 Oct 2003 21:24:40 +0200

Hi all.

  I need to implement a circular buffer as an indexed array of values. How
do I avoid falling off the end of the array, and make the array wrap
around, biting its own tail.

        Allan.



Relevant Pages