[SOLVED] Please do my lab, I cant figure it out.

I’m trying to learn for my Computer Science class and I’m stuck. Can you help?

Struggling to find relevant content or pressed for time? – Don’t worry, we have a team of professionals to help you on
[SOLVED] Please do my lab, I cant figure it out.
Get a 15% Discount on this Paper
Order Now

Lab 2a: Unsorted Phone Book

We are in need of a phone book which we can store contacts – individuals’ first names and phone numbers. Your list of contacts will be unsorted.

For the implementation, you will need a class for Contact objects. The Contact class will contain the contact attributes: first name and phone number.

You will keep the list of Contact instances in a second class, the AddressBook container class. This container class will have an aggregate relationship with the Contact class. This means it will contain and maintain the unsorted list of Contacts.

The AddressBook container class should implement an array style list of Contact objects. C++ vectors are not allowed for Lab 2a.

When the program starts it should open to a main menu with these choices:

  1. Add Contact
  2. Find Contact
  3. Edit Contact
  4. Delete Contact
  5. Display Current Contact
  6. Display All Contacts

Your phone book app needs to be structured like this:

  • Put each class in its own .cpp file. Each class also needs its own .h file
  • Put your menu and app code that uses the classes in main.cpp
  • Use the starter .h files provided here.
  • Your first step should be to create the .cpp file for each class, with empty functions implementing the class members, and a main.cpp file with the necessary #includes but just outputs “Hello, World!”
  • Second step: compile and link the first step above with no errors or warnings.
  • Third step: implement the Phone Book functionality with an unsorted array list.
  • If you have trouble, come to my office hour and the Friday 10am Zoom meeting.
  • Don’t forget to comment your code!

Lab 2b: Persistent AddressBook using Sorted Linked List

You will begin Lab 2b with your completed code for Lab 2a. Modify your Lab 2a code to:

  1. maintain an alphabetically sorted list of Contacts
  2. use a sorted linked list instead of an array.
  3. store Contacts to a datafile.
  4. If the datafile already exists, your app will populate the AddressBook list with Contacts from the file.

You should be able to just change the private members of the AddressBook class, and your AddressBook.cpp code. Start with this .h file:

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
Sign up, place your order, and leave the rest to our professional paper writers in less than 2 minutes.
step 1
Upload assignment instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
s
Get personalized services with MyCoursebay
One writer for all your papers
You can select one writer for all your papers. This option enhances the consistency in the quality of your assignments. Select your preferred writer from the list of writers who have handledf your previous assignments
Same paper from different writers
Are you ordering the same assignment for a friend? You can get the same paper from different writers. The goal is to produce 100% unique and original papers
Copy of sources used
Our homework writers will provide you with copies of sources used on your request. Just add the option when plaing your order
What our partners say about us
We appreciate every review and are always looking for ways to grow. See what other students think about our do my paper service.
Social Work and Human Services
Thank You!
Customer 452587, November 17th, 2021
Human Resources Management (HRM)
This paper is well -written from what I have read. If there are any instructor concerns, I will advise.
Customer 452701, October 24th, 2023
Social Work and Human Services
Good Work!
Customer 452587, September 2nd, 2021
Human Resources Management (HRM)
Great Paper!
Customer 452701, August 1st, 2023
Other
great
Customer 452813, June 30th, 2022
Nursing
thank you
Customer 452881, October 22nd, 2023
Social Work and Human Services
Excellent Work
Customer 452587, November 22nd, 2021
Psychology
Thanks so very much. The paper is well-researched and adequately referenced. You have been of great help during the pandemic!
Customer 452467, January 31st, 2021
Nursing
Perfect as usual!!! Thanks team!
Customer 452453, May 26th, 2021
Human Resources Management (HRM)
Thanks for your time.
Customer 452701, September 10th, 2023
Nursing
Did not receive paper on time.
Customer 452693, November 9th, 2022
Social Work and Human Services
Excellent
Customer 452587, July 28th, 2021
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat

Good News ! We now help with PROCTORED EXAM. Chat with a support agent for more information