Unformatted text preview: element in the circular link list) to hold the queue elements. (1) The Queue class must provide all the operations as shown in Figure 8.3 (which instead uses a linked list to implement the Queue class), page 415-417. (2) Write a driver/client program to test the Queue template with different data types such as int, double, char, string, etc. When you do this problem, you should always keep in your mind the three RULES in class templates!...
View Full Document
- Spring '11
- queue class, generic Queue class