摘要:
1 int Index_BF ( char S [ ], char T [ ], int pos ) 2 3 { 4 int i = pos, j = 0; 5 while ( S[i+j] != '\0'&& T[j] != '\0') 6 if ( S[i+j] == T[j] ) 7 j ++; 8 else 9 {10 i ++;11 j = 0; 12 }13 if ( T[j] == '\0')14 r... 阅读全文
posted @ 2013-08-22 21:21
WangLC
阅读(164)
评论(0)
推荐(0)

浙公网安备 33010602011771号