mirror of
https://github.com/ada-dmitry/prog.l_ada.git
synced 2026-09-24 01:00:15 +00:00
fontupdate
This commit is contained in:
@@ -11,8 +11,8 @@ typedef struct Node {
|
|||||||
void pr(node *tmp);
|
void pr(node *tmp);
|
||||||
node *add_head(node *head, int hh);
|
node *add_head(node *head, int hh);
|
||||||
node *add_tail(node *head, int hh);
|
node *add_tail(node *head, int hh);
|
||||||
node *del_head(node *head);
|
node *del_head(node *head);
|
||||||
node *del_tail(node *list);
|
node *del_tail(node *list);
|
||||||
// node *sort(node *head);
|
// node *sort(node *head);
|
||||||
// int lenghth(node *list);
|
// int lenghth(node *list);
|
||||||
// void writefile(const char *path, node *head);
|
// void writefile(const char *path, node *head);
|
||||||
|
|||||||
@@ -18,5 +18,7 @@ int main(int args, char *argv[]){
|
|||||||
pr(head);
|
pr(head);
|
||||||
|
|
||||||
head = del_tail(head);
|
head = del_tail(head);
|
||||||
pr(head);
|
pr(head);
|
||||||
}
|
}
|
||||||
|
//Домашка: сортировка списка и вычисление длины списка(по желанию запись в файл и чтение с файла)
|
||||||
|
//Ханойские башни игра написать
|
||||||
Reference in New Issue
Block a user