From fa03214161a55119f26e3e1485b8ec6ef211af90 Mon Sep 17 00:00:00 2001 From: ada-dmitry Date: Sat, 1 Apr 2023 21:49:35 +0300 Subject: [PATCH] fontupdate --- PL/Lessons/L28.03 - Dinamic Structure/header.h | 4 ++-- PL/Lessons/L28.03 - Dinamic Structure/main.c | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/PL/Lessons/L28.03 - Dinamic Structure/header.h b/PL/Lessons/L28.03 - Dinamic Structure/header.h index b595927..8b95ec0 100644 --- a/PL/Lessons/L28.03 - Dinamic Structure/header.h +++ b/PL/Lessons/L28.03 - Dinamic Structure/header.h @@ -11,8 +11,8 @@ typedef struct Node { void pr(node *tmp); node *add_head(node *head, int hh); node *add_tail(node *head, int hh); -node *del_head(node *head); -node *del_tail(node *list); +node *del_head(node *head); +node *del_tail(node *list); // node *sort(node *head); // int lenghth(node *list); // void writefile(const char *path, node *head); diff --git a/PL/Lessons/L28.03 - Dinamic Structure/main.c b/PL/Lessons/L28.03 - Dinamic Structure/main.c index bb2af85..4596d4b 100644 --- a/PL/Lessons/L28.03 - Dinamic Structure/main.c +++ b/PL/Lessons/L28.03 - Dinamic Structure/main.c @@ -18,5 +18,7 @@ int main(int args, char *argv[]){ pr(head); head = del_tail(head); - pr(head); -} \ No newline at end of file + pr(head); +} +//Домашка: сортировка списка и вычисление длины списка(по желанию запись в файл и чтение с файла) +//Ханойские башни игра написать \ No newline at end of file