Implement File Opening with std::ofstream in C++ - Console-based Library Management System - ProjectAI