摘要: 插入元素输出之后变成了矩形框架或者变成了汉字,表示自闭了#include #include #define maxSize 100 //串字符数组最大长度 typedef struct{ char ch[maxSize]; //顺序串的存储数组 int length; //顺序串的实际长度 }SeqString; //初始化字符串 ... 阅读全文
posted @ 2019-05-21 23:58 吕志琪 阅读(1136) 评论(0) 推荐(0) 编辑
摘要: 最后的子串在父串中寻找位置的代码写不对,求解#include #include #define maxSize 100 //串字符数组最大长度 typedef struct{ char ch[maxSize]; //顺序串的存储数组 int length; //顺序串的实际长度 }SeqString; //初始化字符串 void c... 阅读全文
posted @ 2019-05-21 00:24 吕志琪 阅读(729) 评论(0) 推荐(0) 编辑