This commit is contained in:
ada-dmitry
2023-03-28 13:22:08 +03:00
parent 1e69e53e91
commit ce57be30e6
5 changed files with 125 additions and 0 deletions
@@ -0,0 +1,19 @@
#define COUN 40
typedef struct Node {
long int data;
struct Node *next;
struct Node *prev;
char s[COUN];
} 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 *sort(node *head);
// int lenghth(node *list);
// void writefile(const char *path, node *head);
// node *readfile(const char *path);