Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please do header file(.h file) use C++ for implementation Building Abstract Data Types exercise in building, traversing, and destroying linear linked lists. build a data
please do header file(.h file) use C++ for implementation Building Abstract Data Types exercise in building, traversing, and destroying linear linked lists. build a data structure to keep track of your New Year's Resolutions and help us monitor how we are doing at them. The data structure that you will be creating is a linear linked list of New Years Resolutions. Then, for each of these, you should have a linear linked list of all of the tasks you plan to do to achieve your goals - in order by importance. For each resolution, the task list should include: a. The name of the task b. How long you plan to spend on this task c. The priority (1-10) Using Classes We will be building a class (e.g., CS_Resolution) to manage the data structures mentioned. You must have the following functions, the information that these Functions need to work with should be passed as an argument. For example, to Add a new resolution, the information about the item should be passed to the Function from the client program". a.Construct an object (constructor) b. add a Resolution (pass in the name of the New Year's Resolution) c. Remove a Resolution (along with removing all tasks for that Resolution) d. Add a task to do for a particular Resolution (pass in the name of the resolution and the task information; consider using structs to avoid long argument lists) e.Display all tasks for a Resolution (passing in the name of the Resolution) f. Display all Resolutions g. Release all dynamic memory (destructor)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started