Question: Using C++ Write a program using the list STL that will act as a line text editor. The program will have the following features: a.

Using C++

Using C++ Write a program using the list STL that will act

Write a program using the list STL that will act as a line text editor. The program will have the following features: a. Functions to insert, remove and empty the list. b. Function to display all current lines (special case if the editor is empty) c. Function to swap two lines (Assuming they exist) d. Function (Non-member) to display a menu with all these operations Test your program with the following procedures: 1. Add 1 line, delete 1^st line, delete 3^rd line, display list. 2. Add 4 lines, delete 3^rd, delete, delete 1^st, display list. 3. Delete list, display list. 4. Add 6 lines, delete 1 line, display list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!