朴素模式的匹配算法-顺序
摘要:
声明:#include "stdio.h"#include "stdlib.h"struct SeqString { int MAXNUM; int n; char *c;};typedef struct SeqString * PSeqString;//创建空顺序串PSeqString createNullStr_Seq(int m){ PSeqString pstr=(PSeqString)malloc(sizeof(struct SeqString)); if(pstr!=NULL) { pstr->c=(char *)malloc(si.. 阅读全文
posted @ 2012-05-08 20:38 yucong 阅读(279) 评论(0) 推荐(0)
浙公网安备 33010602011771号