home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Journal 1990 - 1995 / CUJ.iso / image90 / 9006t1f5.pcx (.png) < prev    next >
PC Paintbrush Image  |  1996-01-31  |  37.4 KB  |  309x430  |  4-bit (4 colors)
   ocr: Queue Implemenation of a queue as a linked data structure A supported: operations - enqueue(x). place item X at end of queue - head return the stem at head of queue dequeue renove next item from front of queue empty return true iff qucue is empty Data structures qHead pointer to the head of queue QTail pointer to the tail of queue gitem queue menber structure next pointer to next item on qucue aniten the iten itself - nust be proper type to contain type of items on queue typedef long menber; * storing longs on this queue typedef struct item I item *next; nember anltem; F item; item quhead - NU ...