Question: Need help! please fill out!! C++ only //-------------------------------------------------------------------- // // Laboratory 11, Programming Exercise 1 PriorityQueue.cpp // // ** SOLUTION: Heap implementation of the Priority
Need help! please fill out!! C++ only
//--------------------------------------------------------------------
//
// Laboratory 11, Programming Exercise 1 PriorityQueue.cpp
//
// ** SOLUTION: Heap implementation of the Priority Queue ADT **
//
//--------------------------------------------------------------------
#ifndef PRIORITYQUEUE_CPP
#define PRIORITYQUEUE_CPP
using namespace std;
#include "PriorityQueue.h"
//--------------------------------------------------------------------
template < typename DataType, typename KeyType, typename Comparator >
PriorityQueue
// Creates an empty priority queue.
{
}
//--------------------------------------------------------------------
template < typename DataType, typename KeyType, typename Comparator >
void PriorityQueue
// Inserts newDataItem into a priority queue.
{
}
//--------------------------------------------------------------------
template < typename DataType, typename KeyType, typename Comparator >
DataType PriorityQueue
// Removes the least recently added (front) data item from a priority
// queue and returns it.
{
}
#endif // #ifndef PRIORITYQUEUE_CPP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
