Skip to content

Домашнее задание 6.1. Сортированный список. Разгуляева А.И.#5

Open
ada1ra wants to merge 6 commits intomainfrom
hw_6-1_sortList
Open

Домашнее задание 6.1. Сортированный список. Разгуляева А.И.#5
ada1ra wants to merge 6 commits intomainfrom
hw_6-1_sortList

Conversation

@ada1ra
Copy link
Owner

@ada1ra ada1ra commented Oct 28, 2025

No description provided.

@ada1ra ada1ra requested a review from chernishev October 28, 2025 18:54
int listContain(List* list, int value);

// основная функция программы для работы со списком в диалоговом режиме
int main();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Вы делаете "модуль", это объявление все портит. Надо выносить его в отдельный .c файл

@@ -0,0 +1,242 @@
#include "hw_6-1_sortList.h"
Copy link
Collaborator

Choose a reason for hiding this comment

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

после include<>

#include <stdlib.h>

// структура узла списка
typedef struct Node {
Copy link
Collaborator

Choose a reason for hiding this comment

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

это здесь не должно быть, оно уже определено в .h

} List;

// создание нового пустого списка
List* listNew()
Copy link
Collaborator

Choose a reason for hiding this comment

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

listCreate

Copy link
Collaborator

@chernishev chernishev left a comment

Choose a reason for hiding this comment

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

5/6, замечания в коде. но за хорошую обработку ошибок через возвращаемые значения +1 балл

@ada1ra ada1ra requested a review from chernishev November 17, 2025 21:00
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