摘要:
#include#include#include#define MAX 100+10typedef struct word{ char* w; struct word * l;}Word;Word* dic[26];char buf[5000][200];int insert(char* p){ int inx = (*p) - 'a'; if(dic[inx] == NULL) { dic[inx] = (Word*)malloc(sizeof(Word)); dic[inx]->w = p; dic[inx]->l =... 阅读全文
posted @ 2013-07-24 21:24
zhengguan
阅读(233)
评论(0)
推荐(0)
摘要:
#include#include#include#define MAX 100+10typedef struct word{ char* w; struct word * l;}Word;Word* dic[26];char buf[5000][200];int insert(char* p){ int inx = (*p) - 'a'; if(dic[inx] == NULL) { dic[inx] = (Word*)malloc(sizeof(Word)); dic[inx]->w = p; dic[inx]->l =... 阅读全文
posted @ 2013-07-24 21:21
zhengguan
阅读(84)
评论(0)
推荐(0)

浙公网安备 33010602011771号