Question: Hello, I have to implement a list of rectangles in C++. The user plans to store a list of rectangles and associated information such as

Hello, I have to implement a list of rectangles in C++. The user plans to store a list of rectangles and associated information such as name, data, coordinates, and color. I need help creating code for the following commands:
1. Dump, which prints all data in the order it was inserted.
2. Find, which finds the name if it exists.
3. Insert, which stores the given rectangle in memory.
4. Load, which loads commands from filename.
5. Remove, which removes the given rectangle from memory.
6. Quit, which quits the program.

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!