Automated Library System in C++