A simple text-based hospital management system using file streams in C++