{"id":18184285,"url":"https://github.com/vovandreevik/stack-and-queue-data-structures","last_synced_at":"2025-04-07T12:17:33.094Z","repository":{"id":199596026,"uuid":"612224102","full_name":"vovandreevik/Stack-and-Queue-Data-Structures","owner":"vovandreevik","description":"This C++ project implements stack and queue data structures","archived":false,"fork":false,"pushed_at":"2023-10-26T19:27:31.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T14:49:45.408Z","etag":null,"topics":["cpp","oop","oops-in-cpp","queue","stack"],"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/vovandreevik.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":"2023-03-10T13:19:23.000Z","updated_at":"2024-04-04T10:38:56.000Z","dependencies_parsed_at":"2025-02-13T14:49:49.656Z","dependency_job_id":"c60b8e0a-a6c8-4a13-9d09-7d4a96b0e91b","html_url":"https://github.com/vovandreevik/Stack-and-Queue-Data-Structures","commit_stats":null,"previous_names":["vovandreevik/stack-queue-array"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vovandreevik%2FStack-and-Queue-Data-Structures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vovandreevik%2FStack-and-Queue-Data-Structures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vovandreevik%2FStack-and-Queue-Data-Structures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vovandreevik%2FStack-and-Queue-Data-Structures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vovandreevik","download_url":"https://codeload.github.com/vovandreevik/Stack-and-Queue-Data-Structures/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"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","oop","oops-in-cpp","queue","stack"],"created_at":"2024-11-02T21:03:55.380Z","updated_at":"2025-04-07T12:17:33.086Z","avatar_url":"https://github.com/vovandreevik.png","language":"C++","readme":"# C++ Stack and Queue Data Structures\n\nThis C++ project implements stack and queue data structures using two different classes:\n- `StackArray` for stack data structure.\n- `QueueArray` for queue data structure.\n\nThese classes provide essential operations such as push/pop (for stacks) and enQueue/deQueue (for queues). Additionally, the project includes custom exception classes for stack and queue operations.\n\n## Project Structure\n\nThe project consists of the following files:\n\n- `Stack.h` and `StackArray.h`: Stack data structure classes and headers.\n- `Queue.h` and `QueueArray.h`: Queue data structure classes and headers.\n- `StackOverflow.h`, `StackUnderflow.h`, `QueueOverflow.h`, and `QueueUnderflow.h`: Custom exception classes.\n- `main.cpp`: A sample application that demonstrates the usage of stack and queue classes.\n- `WrongStackSize.h` and `WrongQueueSize.h`: Custom exception classes for incorrect stack or queue sizes.\n\n## Usage\nThe program allows you to use stack and queue data structures, demonstrating the key operations:\n\n### Stack Operations:\n- Push: Add an item to the stack.\n- Pop: Remove the top element from the stack.\n- Check for emptiness.\n- Queue Operations:\n- Enqueue: Add an item to the queue.\n- Dequeue: Remove the front element from the queue.\n- Check for emptiness.\n- Custom Exception Classes\n- StackOverflow: Thrown when a stack operation results in an overflow.\n- StackUnderflow: Thrown when a stack operation results in an underflow.\n- QueueOverflow: Thrown when a queue operation results in an overflow.\n- QueueUnderflow: Thrown when a queue operation results in an underflow.\n- WrongStackSize: Thrown for incorrect stack sizes.\n- WrongQueueSize: Thrown for incorrect queue sizes.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvovandreevik%2Fstack-and-queue-data-structures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvovandreevik%2Fstack-and-queue-data-structures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvovandreevik%2Fstack-and-queue-data-structures/lists"}