#include <stdio.h>
#include <malloc.h>
typedef struct _word
{
int id;
char str[10];
struct _word* next;
}word;
word* dict_create()
{
word* p = (node*)malloc(sizeof(word));
return p;
}
int dict_insert(word* list, word* node)
{
//Add your code here
return 0;
}
int dict_edit(word* list, int index, word* node)
{
//Add your code here
return 0;
}
int dict_del(word* list, int index)
{
//Add your code here
return 0;
}
int dict_search(word* list, char* str)
{
int count = -1;
//Add your code here
return count;
}
int dict_print(word* list)
{
//Add your code here
return 0;
}
int dict_sort(word* list)
{
//Add your code here
return 0;
}
main函數都沒有啊,大哥