DG>Replying to a message of Tim Hutzler to Darryl Gregorash:
DG>>But do we really know if he wants a Q or a stack??
TH>Yes, he was suffiently descriptive in what he wanted. He
TH>talked about a "buffer" where bytes would go in and move to
TH>the top.
DG>That is still insufficient, Tim.. there is a big difference
DG>between a buffer where you read the oldest element (FIFO
DG>buffer, aka "queue") and a buffer where you read the most
DG>recently added element (LIFO buffer, aka "stack").
He described a FIFO buffer, Darryl.
DG>He has not told us where he is going to be reading the
DG>buffer.. if it is the same place as where writes to it,
DG>then he clearly has a stack, otherwise it is a queue.
Where did he go, anyway? [grin]
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88)
|