The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
There are two here if you can fix both that would be great if not at least one of them thanks
Â
Â
1) (Online Address Book Revisited) Programming Exercise 9 in Chapter 3 could handle a maximum of only 500 entries. a.Using linked lists, rewrote the program specified in Exercise 9 in Chapter 3 to handle as many entries as required.
1) Added data structure for node that contained info and a link pointer
2) Pointers defined for the first, last and new nodes
The following operations were added
b. Add a new entry to the address book
c. Delete an entry from the address book
c. When the program terminates, write the data in the address to a disk. (addressBookType::saveData (ofstream& outFile)
Â
12) (Linked List with Header and Trailer Nodes) This chapter defined and identifed various operation on a linked list with header and trailer nodes.
a. Write the definitions of the class that defines a linked list with header and trailer nodes as an ADT.
1) Data structures for node
2) Pointer to the first node
3) Pointer to the min item
4) Pointer to the max item
Â
b. Write the definitions of the member functions of the class defined in (a) (You may assume that the elements of the linked list with header and trailer nodes are in ascending order.)
1) Initialize list
2) Destroy the list
3) Print the list
4) Search for a given item in the list
5) Insert and item in the list
6) Delete an item from the list
7) Copy the list
c. Write a program to test various operations of the class.
Attachments:
-----------