Find Jobs
Hire Freelancers

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

$30-5000 USD

Em Andamento
Publicado há aproximadamente 22 anos

$30-5000 USD

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.
ID do Projeto: 2844317

Sobre o projeto

2 propostas
Projeto remoto
Ativo há 22 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
See private message.
$31,45 USD em 14 dias
4,7 (32 avaliações)
3,3
3,3
2 freelancers estão ofertando em média $41 USD for esse trabalho
Avatar do Usuário
See private message.
$51 USD em 14 dias
4,9 (35 avaliações)
3,9
3,9

Sobre o cliente

Bandeira do(a) UNITED STATES
United States
4,9
9
Membro desde mar. 30, 2002

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.