Im trying to turn Implement a parameterized constructor that takes the name of the input file as a reference to string argument. The constructor will read the input file, where each line corresponds to a Book subclass and dynamically allocate Book-derived objects with the information read from the input file and add them to the LibraryRecord.
Also to implement LibraryRecord::displayFilter that takes a reference to string key and displays information of its holdings whenever they key matches the relevant information (specific to the type of book). https://wandbox.org/permlink/RujRlaT7ZX9zcx7j
#include
#include "Book.hpp"
#include "ArrayBag.hpp"
#include "LibraryRecord.hpp"
#inc
