Library-Management First install boost library. On Ubuntu use command : sudo apt-get install libboost-dev Then compile using : g++ book.cpp library.cpp student.cpp main.cpp -o library and run: ./library