An open API service indexing awesome lists of open source software.

https://github.com/osaamaahmeed/libralink


https://github.com/osaamaahmeed/libralink

cpp datastructures datastructures-algorithms

Last synced: 10 months ago
JSON representation

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.