Add RD of a queuelist class using templates

This commit is contained in:
2020-07-30 18:44:01 -04:00
parent 3729e15f1e
commit f7c22e4228
3 changed files with 64 additions and 44 deletions

View File

@@ -12,17 +12,16 @@
#include <iostream>
enum OPS {
EXIT, ENQUEUE, DEQUEUE, NEXT, PRINT, EMPTY
};
int main()
{
std::cout << "Driver: \n";
QueueList testList;
QueueList<TYPE> testList;
bool exit = false;
int choice = -1;
int val;
TYPE val;
while (!exit)
{