Skip to content

Hw6 counter#5

Open
DolzhenkoAlexa wants to merge 8 commits intomainfrom
HW6_Counter_Dolzhenko
Open

Hw6 counter#5
DolzhenkoAlexa wants to merge 8 commits intomainfrom
HW6_Counter_Dolzhenko

Conversation

@DolzhenkoAlexa
Copy link
Owner

Файл решения задачи "Считалочка" в дз6 "Списки"

Долженко

Choose a reason for hiding this comment

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

Нужно убрать лишние файлы из PR.

};


int counter(int n, int m)

Choose a reason for hiding this comment

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

Лучше отдельно выделить функции для работы с циклическим списком.

return -1;
}

struct ListOfWarriors* first = malloc(sizeof(*first)); // Создаем циклический список

Choose a reason for hiding this comment

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

Suggested change
struct ListOfWarriors* first = malloc(sizeof(*first)); // Создаем циклический список
struct ListOfWarriors* first = malloc(sizeof(struct ListOfWarriors)); // Создаем циклический список


set(CMAKE_C_STANDARD 17)

add_executable(counter src/hw6_Lists/counter.c)

Choose a reason for hiding this comment

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

Снова не соберётся

Copy link
Owner Author

Choose a reason for hiding this comment

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

Не заметила, что в hwproj коменты не сохраняются, отправила только один пр для hw6

Для считалочки: #5
Для сортлиста: #6

Простите пожалуйста

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