摘要: 子串在主串中的定位操作通常称做串的模式匹配。KMP模式匹配算法实现:/* Index_KMP.h头文件 */#include#includevoid get_next(std::string T,int *next){ unsigned int i,j; i=1; j=0; next[1]=0; w... 阅读全文
posted @ 2014-03-28 10:35 Never say Ever 阅读(304) 评论(0) 推荐(0) 编辑