您的位置: 首页 > IT文章 > 字符串匹配 字符串匹配 分类: IT文章 • 2022-05-05 23:26:43 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<string.h> 4 5 int Index_BF(const char *dst,const char *src,int pos) 6 { 7 int i=pos,j=0; 8 while(dst[i+j]!='