-=>Quoting James Vahn to Darryl Gregorash <=-
??>Ummm.. a stack _is_ a LIFO buffer.. you read from and write to the stack
??>using the "head" pointer. If you re-read, I said "write at the tail, read
??>from the head", and that is a FIFO buffer, a queue.
JV>LIFO,FIFO... the thing is in a circle. What if I'm reading at the
JV>middle of it and a byte comes in? Always drop it on the oldest byte,
JV>reading has nothing to do with that. You're going to need some more
JV>pointers.
Two is suffient.
___ Blue Wave/QWK v2.12
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88)
|