Skip to content

Ярославцев М.Ю. РИ-232701#49

Open
GO1DA wants to merge 6 commits intoLifeStyle28:mainfrom
GO1DA:main
Open

Ярославцев М.Ю. РИ-232701#49
GO1DA wants to merge 6 commits intoLifeStyle28:mainfrom
GO1DA:main

Conversation

@GO1DA
Copy link
Copy Markdown

@GO1DA GO1DA commented Dec 31, 2024

No description provided.

Comment thread task3/circular_queue.cpp
{
// your implementation here
CircularQueue::CircularQueue(size_t size) : capacity(size), front(0), rear(0), count(0) {
buffer = new int[size];
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

нужен деструктор с delete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants