Task 5 is changed
This commit is contained in:
parent
e5b2c01295
commit
36497ec462
50 changed files with 1007904 additions and 144 deletions
|
@ -4,8 +4,17 @@
|
|||
#include "node.h"
|
||||
#include "status.h"
|
||||
|
||||
int get_length (node * head);
|
||||
void delete_list (node * head);
|
||||
#include <stdlib.h>
|
||||
|
||||
static inline void delete_node (node *head)
|
||||
{
|
||||
free(head->string);
|
||||
free(head);
|
||||
}
|
||||
|
||||
int get_length (node *head);
|
||||
void delete_nodes (node *head, const int count);
|
||||
void delete_list (node *head);
|
||||
io_status read_list (node **list, const char *filename);
|
||||
void print_list (node *head, const int p);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue