A C++ implementation of a queue data structure using singly linked lists. Provides core operations for enqueue, dequeue, and traversal, ensuring efficient dynamic memory management.
These instructions will help you set up the project locally and get it running on your machine.
Ensure you have the following installed on your local machine:
- C++ compiler (e.g., g++)
-
Clone the repository:
git clone https://github.com/danieldotwav/LinkedQueue-Implementation.git Navigate to the project directory: ```sh Copy code cd LinkedQueue-Implementation Compile the project:
Copy code g++ -o output_name main.cpp Run the project:
Copy code ./output_name
Brief example of how to use your implementation.
cpp
Copy code
LinkedQueue queue;
queue.enqueue(5);
queue.enqueue(10);
queue.dequeue();
// etc.