StrMSPP.h //此头文件存放的是本程序所使用的所有宏定义,全局变量,以及外部函数声明等等。
文本文件shige.txt内容如下: The pure,the bright,the beautiful That stirred our hearts in youth The impulses to wordless prayer The dreams of love and truth; The longing after something's lost, The spirit's yearning cry, The striving after better hopes These things can never die.
The timid hand stretched forth to aid A brother in his need
A kindly word in grief's dark hour That proves a friend indeed ; The plea for mercy softly breathed When justice threatens nigh The sorrow of a contrite heart These things shall never die. Let nothing pass for every hand Must find some work to do ; Lose not a chance to waken love- Be firm , and just ,and true; So shall a light that cannot fade Beam on thee from on high And angel voices say to thee---
44
These things shall never die.
十一、参考文献
【1】 http://6697.fur168.com/shu-ju-jie-gou-ke-cheng-she-ji-bao-gao,《数据结
构课程设计报告》
【2】 《数据结构》(C语言版),严蔚敏 吴伟民 编著
【3】 《C程序设计-课程设计》,刘振安 刘燕君 单继龙 编著 【4】 模式匹配的KMP算法,候成龙
【5】 严蔚敏,吴伟民,米宁 编著 .数据结构题集(C语言版). 清华大学出版社,
2001年11月
【6】 郑莉,董渊,何江舟 编著 .C++语言程序设计(第4版). 清华大学出版社,2011
年5月
【7】 图的广度优先搜索,王星星
【8】 模式匹配算法——KMP算法的改进,陈冬文 张帆 王斌 周启海(西南财经大学经
济信息工程学院 成都611130)
【9】 KMP模式匹配算法的研究分析,杨战海(延安大学计算中心 延安 716000) 【10】 KMP模式匹配算法的研究,俞文洋 张连堂 段淑敏(河南大学 计算机与信息工程
学院,湖南 开封 475004)
45