Question: Basically i need help writing a function that opens a file books.txt sorts thruogh every line and pulls out the write words and stores them



Basically i need help writing a function that opens a file books.txt sorts thruogh every line and pulls out the write words and stores them in a correctly based on the criteria showed above. In c++ Please!
Write a Library class such that libraryDriver.cpp can make use of functions in the Library class to create a book recommendation system. The Library class should have the following two private data members: an array of Book objects books an array of User objects users The Library class should have member functions. It is up to you to declare and define the member functions for the Library class, in order to achieve the features below. The libraryDriver, essentially the main program using all the 3 classes we just created will need to call appropriate functions of the 3 classes to provide the following features: 1. Load book and user data from text files Load book data and user data from text files. A user must be created for every user in the ratings.txt file, and a book must be created for every book in the books.txt. The data loading should happen at the beginning of the driver program, libraryDriver.cpp. The input files will always be named books.txt and ratings.txt. (i.e., You can hardcode these names into your program.) Load your book data and user data from these files. Format of books.txt Every non-empty line of books.txt will have the following format: Author>,
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
