#include #include int ssFind(int n, char *txt, int m, char *pat){ int nmatch = 0; char *cp; cp = txt; while (cp = strstr(cp, pat)) { printf("%d\n", cp-txt); nmatch++; cp++; } return(nmatch);}/* End of File */
Yorum Gönder
Hiç yorum yok:
Yorum Gönder