home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Journal 1990 - 1995 / CUJ.iso / image90 / 9006t1f3.pcx (.png) < prev    next >
PC Paintbrush Image  |  1996-01-31  |  29KB  |  311x328  |  4-bit (4 colors)
Labels: text | screenshot | font | number | black and white
OCR: Queue implemenation of a queue as a linked data structure Operations supported: enqueue (x) .place item x at the end of queue hoad return the item at head of queuc dequeue remove next item from front of quouc empty return true iff the queue is empty Data structures qHead -pointer to head of queue qTail pointer to tail of queue qIten queue member structure .: next pointer to next item on queue anitem the item itself - must be proper type to contain type of items on queue * Functions * add an item to queue remove next item from queue return item at head of queue; don't remove ....... * return true if the queue is empty, false otherwise