Problem

Programming Warm-Up Exercises 7–12 deal with an array representing the inventory for an...

Programming Warm-Up Exercises 7–12 deal with an array representing the inventory for an art gallery. Using the same representation, write a C++ program that reads the gallery’s inventory from a file called art.dat into the array. Then allow the user to look up the artwork by specifying any field in the record. As a reminder, here are the fields:

Artist (string)

Title (string)

Medium (oil, watercolor, pastel, acrylic, print, color photo, black-and-white photo)

Size (struct)

Height (int)

Width (int)

Room where it is hung (main, green, blue, north, south, entry, balcony)

Price (float)

The user should be able to specify a field, and a value for that field, and the program should then return all works that match those criteria. For example, the user may specify Artist and Smithely, and the program will output all of the information concerning every work in the gallery by that artist.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT