Handling Invalid Console Input in C++ | NoteLib