C++ Address Book !!! Need Help Yesterday!!!

Concluído Postado Mar 30, 2002 Pago na entrega
Concluído Pago na entrega

Write an object-oriented console program in C++ to keep track of a collection of name and phone number combinations. This telephone directory program must provide the user with the options stated below.

## Deliverables

USER OPTIONS: 1) The user can add a new name and phone number entry to the directory (upon selecting this option the program should query the user to obtain the information). 2) The user can delete an entry from the directory by specifying the last name of the person to be removed. This option will give the user the chance to cancel the deletion after the selection is presented. If more than one entry matches the specified last name, then each entry will be presented to user for them to delete or save. 3) The user can print to screen the formatted name and phone number of all entries matching a given last name. The following format should be used: Last_name, First_name (407)555-1111 4) The user can print to the screen all current entries in the directory, in alphabetical order based on the last name. 5) The user must also have a means of exiting the program. The program should loop until the user chooses to exit. Your program must develop the following classes: PhoneEntry, LinkedList, and PhoneDirectory. CLASS DISCUSSION: 1) The PhoneEntry class encapsulates the name and phone number combination. This class has the attributes first name, last name and phone number. This class provides behaviors for printing the entry information and doing comparisons. 2) The LinkedList class should be a generic linked list class that expands upon the LinkedList class presented in class by providing behaviors for: inserting elements any where in the list (not just the head), removing elements from anywhere in the list, and getting elements from anywhere in the list without removing the element from the list. The LinkedList class should be generic enough to store more than simply integer values. This can be accomplished using a void pointer as the data element in the node structure. struct Node{ void *pItem; Node *pNext; }; The void pointer can be used to point to any data type including objects. Use this node structure in your LinkedList class. 3) An instance of the PhoneDirectory class will be used to contain the collection of name and phone number entries. The LinkedList class must be used to store the actual references to the PhoneEntry objects, but the PhoneDirectory class is used to provide a more specific interface than the generic LinkedList class. The PhoneDirectory class will provide behaviors for: Adding new entries to the directory (entries should be inserted into the linked list so that referenced list items are sorted alphabetically based on the last name), removing entries from the directory, printing selected entries from the directory and printing all directory entries. Make use of the string class. This class allows you to create character string objects and provides methods for performing comparisons. ------------------------------------------------------ I need a complete and fully-functional working program in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.

## Platform

Windows (95, 98, Me, NT)

## Deadline information

Must be completed by 4/3/2002 by 5:00pm EST.

Programação C Engenharia Microsoft MySQL PHP Arquitetura de software Teste de Software Área de trabalho do Windows

ID do Projeto: #2844317

Sobre o projeto

2 propostas Projeto remoto Ativo em Mar 30, 2002

Concedido a:

odysseyvw

See private message.

$31.45 USD em 14 dias
(32 Comentários)
3.3

2 freelancers estão ofertando em média $41 nesse trabalho

kasperindia

See private message.

$51 USD in 14 dias
(35 Comentários)
3.9