Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

.. Make a sufficient Task List Program You are required to create a new class an

ID: 3542922 • Letter: #

Question

..


Make a sufficient Task List Program You are required to create a new class and to use two deques in your class. Each task must first be designated as important or unimportant, and we will use a different deque for each of these designations. A task must also be designated as urgent (meaning that it has a deadline looming) or not urgent (meaning that there is no deadline.) An urgent task must be added to the front of the appropriate deque using the appropriate function of the deque class, while a task which is not urgent must be added to the back of the appropriate deque using the appropriate function of the deque class. Tasks may only be removed from the front of the appropriate deque using the appropriate function of the deque class. Tasks must be able to be described using string descriptors such as "do the laundry" or "submit A07" Your main program should be menu driven, allowing you to do at least the following operations: Begin a new task list. Open a file to import an existing task list. Export an existing task list to a file. Allow a user to add a task to the task list from the keyboard. (To add, they will need to categorize the task as important or unimportant, urgent or not urgent, and they will need to be able to add a task descriptors such as "do the laundry" or "submit A07".) Allow the user to remove a task from the task list from the keyboard. (To remove they will need only to identify which deque to remove from.) This means that you need to think about the structure of a task as well as the structure of the file for import/export. (Clearly, you want an exported file to be read for import, so they should have the same structure.) Be sure to note the following: Include comments for any parts of the code that is non-intuitive to let us know what that portion does. Make sure that each member function has parameters that make sense. If a function does not need a parameter, do not include one. Use meaningful variable names of the appropriate types. Include a descriptive header as a comment at the top of your source code.

Explanation / Answer

what?