Find Jobs
Hire Freelancers

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

$30-5000 USD

En curso
Publicado hace alrededor de 22 años

$30-5000 USD

Pagado a la 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.
ID del proyecto: 2844317

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 22 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$31,45 USD en 14 días
4,7 (32 comentarios)
3,3
3,3
2 freelancers están ofertando un promedio de $41 USD por este trabajo
Avatar del usuario
See private message.
$51 USD en 14 días
4,9 (35 comentarios)
3,9
3,9

Sobre este cliente

Bandera de UNITED STATES
United States
4,9
9
Miembro desde mar 30, 2002

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.