{"id":21702467,"url":"https://github.com/usmana5809/hostel-management-system","last_synced_at":"2025-06-21T04:33:59.862Z","repository":{"id":246408653,"uuid":"821043031","full_name":"usmana5809/Hostel-Management-System","owner":"usmana5809","description":"A comprehensive Hostel Management System to manage student, mess, guest, clothes, security, salary, and account records.","archived":false,"fork":false,"pushed_at":"2025-05-21T13:04:21.000Z","size":2626,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T14:32:09.980Z","etag":null,"topics":["account-management","clothes-management","cpp","guset-management","hostel-management-system","mess-management-system","student-management"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usmana5809.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-27T17:35:14.000Z","updated_at":"2025-05-21T13:04:25.000Z","dependencies_parsed_at":"2024-06-27T21:23:23.319Z","dependency_job_id":null,"html_url":"https://github.com/usmana5809/Hostel-Management-System","commit_stats":null,"previous_names":["usmana5809/hostel-management-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/usmana5809/Hostel-Management-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmana5809%2FHostel-Management-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmana5809%2FHostel-Management-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmana5809%2FHostel-Management-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmana5809%2FHostel-Management-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usmana5809","download_url":"https://codeload.github.com/usmana5809/Hostel-Management-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmana5809%2FHostel-Management-System/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261063228,"owners_count":23104565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["account-management","clothes-management","cpp","guset-management","hostel-management-system","mess-management-system","student-management"],"created_at":"2024-11-25T21:16:01.921Z","updated_at":"2025-06-21T04:33:54.844Z","avatar_url":"https://github.com/usmana5809.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hostel Management System\nSUBJECT: OBJECT ORIENTED PROGRAMMING \n- Make a  class naming management for all calculations \nThere are four hostels(3 boys and a girls) under the manager. Each of this hostel has : \n- Separate hostel mess system. \n- One cook for kitchen. \n-\tFour sweepers. \n-\tFive guards. \n-\tOne serving boy. \n \n-\tManagement has five subclasses salary, hostel 1, 2, 3 and girls hostel. \nEnter the number of students in each hostel and save their credentials meaning name, roll number and ID card number in four different files namely hostel 1, hostel 2, hostel 3 and girls hostel.  \nMinimum residents are 200 per hostel. \n-\tEach sub class(eg hostel1) has further sub classes naming mess, guests, clothes and security system  \n# Subclass mess: \nMess menu should be designed according to the user for the whole month. \nMess system serves two times to students who are willing to eat. \nThere should be files naming mess1, mess2, mess3 and mess4 which has record of last thirty days of all the students. Data in the files are altered on the end of each day. eg(Mess1 will be the mess file for hostel1.There are two entries per day done by two members breakfast and dinner) Subclass Guests: \nThree guests are allowed for each student and every student has guests two days per month (mandatory). \nStudents should tell management of guests one day earlier. \nMake another file which shows guess list of each student and there total bill of mess of their guests.  \neg(Guest list for hostel1 will be named guest1.Entries are done through members ID and use function guest_total for making total for each student.) \n \n \n# Subclass Clothes: \n- There is a private cloth management system which cost Rs.5/piece for ironing and 12 /piece for washing. \n- 15% for each clothing piece goes to hostel management. \n- Every student uses this facility at least once a week. \n- A file is created for the total money gathered from washing and ironing and hostels share in it. \neg(for hostel1 file name will be clothes1 and wash and iron are two members of this subclass.) \n# Subclass Security system: \nMake a file for guest id card numbers for each student of the whole month. \nMake another file for night day shifts of four guards and one chief in control room. Make a file for the extra curricular activities which includes trip per weekend and bonfire once a month. \nMake another file for the lost found items for all the students. In this file every item of hostel lost is fined as per requirement like lost key should be fined with 100 rupees. \neg(for security1 file names are guestid, guardshift and LFitems) Subclass Salary: \nMake another file which includes the salaries of the following people. \n-\tManager 25k, \n-\tGuard 15k, \n-\tCook 15k, \n-\tSweeper 10k, \n-\tServing boy 5k. These salaries should be adjusted from the bill of the students. \n# Class management: \nEvery student at the end of the month total bill for each student should be calculated as follows: \n-\tMess  \n-\tGuest mess \n-\tLost/found fine \nA file should be created which has separate salary and hostel profit. \nCreate a way to show the total dues of any student whose idcard no. is entered. \n\n\n## Overview\nThe Hostel Management System is a comprehensive software application designed to manage the various aspects of hostel administration, including student management, mess management, guest management, clothes management, security management, salary management, and account management.\n\n## Features\n- **Student Management**: Add, view, update, delete student records, and manage fines.\n- **Mess Management**: Add, view, update, and delete mess records.\n- **Guest Management**: Add, view, update, and delete guest records.\n- **Clothes Management**: Add, view, update, and delete clothes records.\n- **Security Management**: Add, view, update, and delete security incidents.\n- **Salary Management**: Add, view, update, and delete salary records.\n- **Account Management**: Add, view, update, and delete account records.\n\n## Usage\nUpon running the program, users can select the hostel they wish to manage (e.g., Boy Hostel 1, Boy Hostel 2, Boy Hostel 3, Girl Hostel). Within each hostel, users can navigate through various management systems to perform CRUD operations (Create, Read, Update, Delete).\n\n### Main Menu\n```bash\n========================================================================================\nHOSTEL MANAGEMENT SYSTEM\n    === \u003e\u003e  Press 1 for Boy Hostel1\n    === \u003e\u003e  Press 2 for Boy Hostel2\n    === \u003e\u003e  Press 3 for Boy Hostel3\n    === \u003e\u003e  Press 4 for Girl Hostel\n    === \u003e\u003e  Press 5 to Exit\n```\n\n### Submenu Example\n```bash\n========================================================================================\n                    (Student Management System)\n========================================================================================\nSTUDENT MANAGEMENT SYSTEM\n    --- \u003e\u003e Press 1 to Add Student\n    --- \u003e\u003e Press 2 to View Students\n    --- \u003e\u003e Press 3 to Update Student\n    --- \u003e\u003e Press 4 to Delete Student\n    --- \u003e\u003e Press 5 to Manage Fines\n    --- \u003e\u003e Press 9 to Return to Previous Menu\n    --- \u003e\u003e Press 1 to Add Student\n    --- \u003e\u003e Press 2 to View Students\n    --- \u003e\u003e Press 3 to Update Student\n    --- \u003e\u003e Press 4 to Delete Student\n    --- \u003e\u003e Press 5 to Manage Fines\n    --- \u003e\u003e Press 9 to Return to Previous Menu\n```\n\n## Installation\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/your-username/hostel-management-system.git\n    ```\n2. Navigate to the project directory:\n    ```sh\n    cd hostel-management-system\n    ```\n3. Compile the code using a C++ compiler:\n    ```sh\n    g++ main.cpp -o hostel_management_system\n    ```\n4. Run the executable:\n    ```sh\n    ./hostel_management_system\n    ```\n\n## Expected Output\n- Users will interact with the system via a command-line interface.\n- Menus will guide the user to perform various operations.\n- Success and error messages will be displayed accordingly.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-branch`).\n3. Commit your changes (`git commit -am 'Add new feature'`).\n4. Push to the branch (`git push origin feature-branch`).\n5. Create a new Pull Request.\n\n## Contact\nFor any questions or suggestions, please contact [usmanazulfiqar2001@gmail.com](mailto:usmanazulfiqar2001@gmail.com).\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusmana5809%2Fhostel-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusmana5809%2Fhostel-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusmana5809%2Fhostel-management-system/lists"}