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.
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.