Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

*** Please make sure to use Visual Studio(C++). Thank you.** ListArray Class Description: You will implement your own List ADT, the ListArray class 4.1. Implement

*** Please make sure to use Visual Studio(C++). Thank you.**

ListArray Class

Description: You will implement your own List ADT, the ListArray class

4.1. Implement default constructor: List:: List (int maxNumber )

4.2. Implement copy constructor: List:: List (const List &source)

4.3. Implement operator =: List& List::operator = ( const List &source)

4.4. Implement destructor: List:: ~List ()

4.5. Implement insert (): void List:: insert ( const DataType &newDataItem ) throw ( logic_error )

4.6. Implement remove (): void List:: remove () throw (logic_error)

4.7. Implement replace (): void List:: replace ( const DataType &newDataItem ) throw ( logic_error )

4.8. Implement clear (): void List:: clear ()

4.9. Implement isEmpty():bool List:: isEmpty () const

4.10. Implement isFull(): bool List:: isFull () const

4.11. Implement gotoBeginning ():void List:: gotoBeginning () throw ( logic_error )

4.12. Implement gotoEnd ():void List:: gotoEnd () throw (logic_error )

4.13. Implement gotoNext ():void List:: gotoNext () throw (logic_error )

4.14. Implement gotoPrior ():void List:: gotoPrior () throw (logic_error )

4.15. Implement getCursor (): DataType List:: getCursor () const throw ( logic_error )

4.16. Implement showStructure ():void List:: showStructure ()const

7.1. Implement moveToNth ():void List:: moveToNth (int n ) throw ( logic_error )

7.2. Implement find ():bool List:: find (const DataType &searchDataItem ) throw ( logic_error )

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