Create a List class. The only data member is a vector that holds strings. Create the following methods:
1. add(item), where item is an element to add to the list.
2. remove(item), where item is the item to be removed from the list
3. clear(), clears the items out of the lsit
4. list(), displays all the items in the list
5. sort(), displays the items in the list in alphabetical order
Write a program that uses the List class and demonstrates how to use each method.
Due Friday, November 19, 2010 by 6:00 pm.
using Mircosoft V C++ 2010 express
1
Expert's answer
2010-11-18T03:23:25-0500
Your question requires a lot of work and can be submitted as an assignment to our site. Just follow this link and our experts will assist you.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment