https://github.com/osaamaahmeed/libralink
https://github.com/osaamaahmeed/libralink
cpp datastructures datastructures-algorithms
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/osaamaahmeed/libralink
- Owner: osaamaahmeed
- Created: 2024-12-11T20:26:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-03T11:46:13.000Z (11 months ago)
- Last Synced: 2025-09-03T13:27:58.530Z (11 months ago)
- Topics: cpp, datastructures, datastructures-algorithms
- Language: C++
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ LibraLink
LibraLink is a simple C++ library management system that demonstrates basic linked list operations for managing books in a library. The project provides functionality to add, remove, search, sort, and display books using a doubly linked list structure.
## โจ Features
- โ Add books to the head, tail, or a specific position in the library.
- ๐๏ธ Remove books from the head, tail, by index, or by matching book details.
- ๐ Search for books by title, author, or publication year.
- ๐ Sort books by title, author, or publication year (ascending and descending).
- ๐ Display all books or display in reverse order.
- ๐งน Clear the library.
- ๐ข Count the number of books.
## ๐ Usage
The main functionality is demonstrated in `main.cpp`. Compile and run the program to see how books are managed in the library.
### Example
```bash
g++ main.cpp -o libra
./libra
```
## ๐๏ธ Structure
- `Book` class: Represents a book with title, author, publication year, and links to the next/previous books.
- `Library` class: Manages the collection of books and provides all operations.
## โ๏ธ Requirements
- C++ compiler (e.g., g++)
## ๐ License
This project is for educational purposes.