Hotel Management Program

I'm currently working on a hotel management program in C++. There are no errors during compiling of the program although there is one logical error, the solution for which I'm unable to figure out. When the 'Search for Room by room number' option is selected in the 'Administrative Menu' (Admin Password: admin), even if an existing room number is entered, the output shows 'Room not found'. I guess there's a problem with the 'check' function which is used to check whether a room is booked or not. Kindly help. There are some other errors too. It'd be of great help if someone out here could help. Following is my program:

Here is the link to my C++ program file:

Thank you to everyone!
Topic archived. No new replies allowed.