// // djb.cpp -- this is "Dr. J's Bookshelf": the Program // #include #include using namespace std; #include "book.h" #include "bookshelf.h" int main(int argc, char *argv[]) { Bookshelf bs; if (argc < 2) { cerr << "Usage: djb filename" << endl; return 1; // return from main() accomplishes the same as exit(1); } bs.read_books(argv[1]); /* * ... insert rest of user functional requirements here */ }