Code:
int main ()
{
BinaryHeap pQueue; // create empty heap
bool acceptCommand = true;
string command; // function to perform
while (acceptCommand)
int main ()
{
BinaryHeap pQueue; // create empty heap
bool acceptCommand = true;
string command; // function to perform
while (acceptCommand)
template <typename T>
class List : public BasicADT
{
public:
List(); // constructor
List(const List<T>& aList); // copy constructor
virtual ~List(); // destructor
Leave a comment: