Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ARRAY LIST I need help with this . fill in the blanks Thanks //******************************************************************** #ifndef ARRLIST_H #define ARRLIST_H //******************************************************************** template class ArrList { private: TYPE*

ARRAY LIST
I need help with this . fill in the blanks
Thanks
//********************************************************************
#ifndef ARRLIST_H
#define ARRLIST_H
//********************************************************************
template
class ArrList
{
private:
TYPE* list;//points to dynamically allocated array
int capacity;//capacity of array
int numValues;//number of items currently in the array
bool _resize();
public:
ArrList(int c = 5);
~ArrList();
void display() const;
______ insertFront ( ___________________________________ ) ;
______ insertBack ( ___________________________________ ) ;
______ insertAtIndex ( ___________________________________) ;
______ retrieveFront ___________________________________) const;
______ retrieveBack ( ___________________________________) const;
______ retrieveAtIndex ( ___________________________________) const;
______ retrieve ( ___________________________________) const;
// find first occurrence of item
______ removeFront ( ___________________________________) ;
______ removeBack ( ___________________________________ ) ;
______ removeAtIndex ( ___________________________________ ) ;
______ remove ( ___________________________________) ;
______ updateFront ( ___________________________________) ;
______ updateBack ( ___________________________________) ;
______ updateAtIndex ( ___________________________________) ;
______ update ( ___________________________________ ) ;
______ getSmallest ( ___________________________________) const;
______ getCapacity () const;
______ getNumValues () const;
______isEmpty ()const;
______ clearList ();// removes all items from list
};
#endif
//********************************************************************

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

What are the objectives of job evaluation ?

Answered: 1 week ago

Question

Write a note on job design.

Answered: 1 week ago

Question

Compute the derivative of f(x)cos(-4/5x)

Answered: 1 week ago

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

1. Identify what positions are included in the plan.

Answered: 1 week ago

Question

2. Identify the employees who are included in the plan.

Answered: 1 week ago