Question: In your main function, do the following to test your functions above: 1. Create a new list of words (call it A). Your program creates

 In your main function, do the following to test your functions

In your main function, do the following to test your functions above: 1. Create a new list of words (call it A). Your program creates a new word list object. It asks the user to enter the maximum number of words in the list (MAX_WORDS). After that, it calls the function ReadWordList on object A (the function is described above). 2. Add a new word to the list (call the function in part (c)). 3. Search for a word. Enter a word from keyboard and call the function (Contains) to check whether the word exists in the list or not. 4. Create a second list (call it B), input Max_Words from the user. Then call the function ReadWordList on B. 5. Use the overloaded == operator to check if list A and list B are equal. 5. Create a third list (C) using the copy constructor (make it a copy of the first list) 6. Create a fourth list (D) and after it is created, make it equal to the second list created (this tests your overloaded = ). 7. Enter an index (i) from the keyboard, display the ith word in all of the four lists on screen using the [] operator (this tests your []). 8. Sort the words in the first list A. Call the function in part (f) 9. Neatly, display the words in all of the four lists on screen. Call the function in part (g)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!