Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Prompt You will need to perform the following steps to complete this activity: Setup: Begin by creating a new C + + project with a

Prompt
You will need to perform the following steps to complete this activity:
Setup: Begin by creating a new C++ project with a project type of "Hello World C++ Project".
Name the project LinkedList. Remember to pick the correct compiler in Toolchains and click Finish. This will create a simple LinkedList.cpp source file under the /src directory.
Download the starter program files and copy them to the projects /src directory, replacing the existing auto-generated ones. Remember to right-click on the project in the Project Explorer pane on the left and Refresh the project so it adds all the new files to the src folder underneath.
Because this activity uses C++11 features, you may need to add the -std=c++11 compiler switch to the miscellaneous settings.
Task 1: Internal structure for list entries, housekeeping variables. Create the structure, internal to the class, that will hold the bid entries. Consider what other variables are needed to help manage the list.
Task 2: Initialize housekeeping variables. Remember to initialize the housekeeping variables in the constructor.
Task 3: Implement append logic. Create code to append a bid to the end of the list.
Task 4: Implement prepend logic. Create code to prepend a bid to the front of the list.
Task 5: Implement print logic. Create code to print all the bid entries in the list to the console.
Task 6: Implement remove logic. Create code to remove the requested bid using the bid ID passed in.
Task 7: Implement search logic. Create code to search for the requested bid using the bid ID passed in. Return the bid structure if found or an empty bid structure if not found.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions

Question

define technical writing?

Answered: 1 week ago