<p>c++ additional code to function that add new user to db</p><p>Library.cpp<br/>#include "User.h"<br/>#include "Book.h"<br/>#include "Library.h"<br/>#include<br/>#include<br/>#include<br/>#include</p><p>using namespace std;</p><p><br/>int Library::readBooks(string bFileName)<br/>{<br/>int chklinesize;<br/>string lines;<br/>string words[200];<br/>ifstream fileBooks;<br/>fileBooks.open(bFileName, ios::in);</p><p>if (fileBooks.is_open())<br/>{<br/>while (getline(fileBooks, lines))<br/>{<br/>//Get the length of the