Question: Can someone help me write this code? I dont fully understand it . This project is an individual assignment that focuses on object - oriented
Can someone help me write this code? I dont fully understand it
This project is an individual assignment that focuses on objectoriented programming and
linked lists. Read these instructions!! These are your project requirements. Ask for
clarification, if needed, but dont wait till it is due and start asking questions. READ ALL OF THE
INSTRUCTIONS.
You will create a doublylinked list implemented using nodes and pointers. The data
contained in the list will be objects from a class.
Project data: Choose one of the following classes to define: Boat, Hurricane, Game, Sport,
State, Country, House, Phone, Movie, Person, Fish, Cat, Dog, Animal, Car, or Course. Create
the class with a header file and an implementation file. You may use some other class only if
it is preapproved. This portion is EXACTLY like your Lab If you implemented it correctly,
you can use that code.
Your class code will include a h class declaration file and a cpp file that implements your
class. Exactly like your Lab
You will choose the data attributes of your class.
There should be at least data attributes. At least one of these attributes will be a string,
and at least one attribute will be numeric. This is what you did in Lab
Project data structure: Create a class for a doublylinked list that will manage a collection
of your class data objects eg Cars or Hurricanes
The list will use dynamically allocated nodes eg using the new operator and a pointer
Write a functional menu with the following options :
Add to the front of the list
Add to the back of the list
Search for and display a specific item in the list
Edit a specific item in the list
Delete a specific item from the list
Display the entire list front to back
Display the entire list in reverse order
Display the first item in the list
Exit the Program
These are the tasks that your program should perform. It is fine to have more or to have
subtasks or submenus, but the main menu must be similar to the one shown. These are the
menu requirements. If it is not in this menu, it is not required sorting list, for example
Project #
Linked Lists of Objects in C
CSC Data Structures and Algorithms University of South Alabama
The following filesdocuments are required to be submitted on Canvas:
You can find the sample files referenced on CanvasFilesClass Resources Other Classes
A class driver program similar to WorkingWithBooks.cpp You name it
BookListDriver.cpp where you replace books with your class name.
The class declaration header file similar to Book.h name after YOUR class
The class implementation file similar to Book.cpp name after YOUR class
A header file for the node class similar to node.h but with your class.
Your node file should contain your class name in it eg BoatNode.h not just Node.h
A header file for the list similar to SinglyLinkedList.h but for a doublyLInkedList. It
should be named after your class, such as BoatList.h or HurricaneList.h It should NOT
be named linkedList.h or doubleLinkedList.h or anything else. It should be named,
catList.h or boatList.h or hurricaneList.h to indicate that it is a list of your class objects.
A class implementation file for the list class similar to SinglyLinkedList.cpp but named
after your classs as are all the other c files Name your cpp file the same as your
header file. For example, if your header is catList.h then your implementation file
should be named catList.cpp
A PDF document named ProjectLastnameInitials.pdf that provides a list of the menu
items through with the complexity of each operation using Big O notation and an
explanation for why you think that. For example, adding to the front of the list is O
because it is a constant operation that does not depend upon the size of N or
whatever your explanation might be Provide a screen shot of every menu selection and
the result of the operation.For example, if Edit Book is selected, then show the
resulting screens See Sample Output pdf file for examples.
Your executable file compiled to run on a Windows PC
Your program should run. Any program that does not compile and execute will receive
zero credit. You will receive credit for an incorrect program but not for one that will not
compile and run.
Comment out any part of your program that does not work and include a brief note in
comments, as to why you think it is broken.Your full explanation about any non
working parts of your program should be added to your PDF document. This is very
important! If something does not work correctly, comment out the portion that fails
and explain why. Ignoring this requirement will impact your grade significantly. This is
an opportunity to gain points on something you did not complete. If you cannot get it
to work correctly, try to explain why and move on
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
