The function remove of the class arrayListType removes only the first occurrence
ID: 3626951 • Letter: T
Question
The function remove of the class arrayListType removes only the first occurrence of an element. Add the function removeAll, as an abstract function, to the class arrayListType that would remove all occurrences of a give element. Also, write the definition of the function removeAll, in the class unorderedArrayListType, and a program to test your function. Do not change anything in the supplied Ch13_Ex8.cpp except to add documentation and your name. Please use the file names listed below since your file will have the following components:
Ch13_Ex8.cpp - given file
arrayListType.h
arrayListTypeImp.cpp
unorderedArrayListType.h
unorderedArrayListTypeImp.cpp
Please help me.
Explanation / Answer
my friend this is the program u want i didn`t know the book u r asking for the question for if u can writhe the name of the book so i can help u more PLEASE RATE #include using namespace std; void remove(int arr[],int N) { for(int i=0;iRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.