{"id":24023728,"url":"https://github.com/tamiko-n/library-management-system","last_synced_at":"2025-06-25T21:34:36.124Z","repository":{"id":253635939,"uuid":"844086208","full_name":"Tamiko-n/Library-Management-System","owner":"Tamiko-n","description":"This Library Management System is a comprehensive C++ application designed to manage a library's inventory, including Books, Magazines, Research Journals, and FYP Theses. The system employs object-oriented programming principles such as inheritance and polymorphism to create a modular and extensible application.","archived":false,"fork":false,"pushed_at":"2024-08-18T12:02:24.000Z","size":697,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T14:44:02.624Z","etag":null,"topics":["cpp","lms"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tamiko-n.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-08-18T10:45:02.000Z","updated_at":"2024-11-06T11:57:08.000Z","dependencies_parsed_at":"2024-08-18T12:07:03.109Z","dependency_job_id":null,"html_url":"https://github.com/Tamiko-n/Library-Management-System","commit_stats":null,"previous_names":["tamiko-n/library-management-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tamiko-n%2FLibrary-Management-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tamiko-n%2FLibrary-Management-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tamiko-n%2FLibrary-Management-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tamiko-n%2FLibrary-Management-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tamiko-n","download_url":"https://codeload.github.com/Tamiko-n/Library-Management-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240771902,"owners_count":19854982,"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":["cpp","lms"],"created_at":"2025-01-08T14:44:06.744Z","updated_at":"2025-02-26T00:49:11.948Z","avatar_url":"https://github.com/Tamiko-n.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Library-Management-System\nThe Library Management System you've created in C++ is an object-oriented application designed to manage a library's inventory. It includes various functionalities for both administrators (admin) and regular users. Here's a detailed explanation of the code and its functionality:\n\n### Overview\n\nThe system allows for the management of four types of items: Books, Magazines, Research Journals, and FYP Theses. The main users are admins who can manage these items by adding, modifying, deleting, or viewing them, while regular users can only view the items.\n\n### Code Structure\n\n1. **Classes and Inheritance:**\n   - **Item (Base Class):** This class represents a general item in the library. It includes basic attributes like title, author, number of copies, and price. It serves as the base class for specific item types.\n   - **Book, Magazine, ResearchJournal, FYP (Derived Classes):** These classes inherit from `Item` and represent specific types of library items. Each class may have additional attributes specific to that item type (e.g., edition for books, issue number for magazines).\n   - **User (Base Class):** This class represents a general user of the system, with basic attributes like username and password.\n   - **Admin and RegularUser (Derived Classes):** These classes inherit from `User`. The `Admin` class has additional methods for managing items, while `RegularUser` is limited to viewing items.\n\n2. **Admin Functionalities:**\n   - **Add Items:** The admin can add new items to the inventory by entering details such as title, author, number of copies, price, and specific details depending on the item type.\n   - **Modify Items:** The admin can modify existing items by updating their number of copies and price.\n   - **Delete Items:** The admin can remove items from the inventory.\n   - **View All Items:** The admin can view all items in the inventory, with detailed information about each.\n\n3. **User Functionalities:**\n   - **View All Items:** Regular users can view the list of all available items in the library.\n\n4. **File Handling:**\n   - **Saving and Loading Data:** The system uses file handling to save and load user and item data, ensuring persistence between program executions.\n\n5. **User Interface:**\n   - **Menu-Driven Interface:** The system is operated through a menu-driven interface, where users and admins choose options to perform different tasks.\n   - **Notifications:** The system provides feedback to users through loading animations and success/failure notifications.\n\n### Key Functions\n\n1. **Main Function:**\n   - The main function initializes the system and presents the user with options to either log in as an admin or as a regular user.\n\n2. **User Authentication:**\n   - Admins and users must log in to access their respective functionalities. The system checks their credentials against stored data to verify their identity.\n\n3. **Admin Functionalities Implementation:**\n   - The admin functionalities (add, modify, delete, view) are implemented using member functions in the `Admin` class. These functions interact with the library's inventory, which is typically stored in a file or in memory.\n\n4. **Polymorphism and Virtual Functions:**\n   - The system likely uses polymorphism and virtual functions to handle different types of items through a common interface. This allows for operations on `Item` pointers or references, while the correct derived class functions are called based on the actual object type.\n\n\n### Summary\n\nThis Library Management System is a comprehensive tool for managing a library's inventory. It uses object-oriented programming principles to create a modular and extensible system. The separation of admin and user functionalities ensures that data management is secure and user-friendly. The system's use of classes, inheritance, polymorphism, and file handling demonstrates a solid understanding of advanced C++ concepts.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamiko-n%2Flibrary-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftamiko-n%2Flibrary-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamiko-n%2Flibrary-management-system/lists"}