Page MenuHomec4science

main.cpp
No OneTemporary

File Metadata

Created
Fri, Nov 1, 06:14

main.cpp

/*
* main.cpp
*
* Created on: Jun 26, 2018
* Author: vachoux
*/
#include "xml_utils.h"
#include "global.h"
#include "Book.h"
#include "Library.h"
#include <string>
using namespace std;
int main() {
const string XML_FILE = "bookstore2.xml";
Library* my_library;
try {
// dump_xml(XML_FILE);
my_library = new Library(XML_FILE);
}
catch (string& msg) {
err_msg(msg);
exit(EXIT_FAILURE);
}
my_library->print();
info_msg("End");
return 0;
}

Event Timeline