See More

#include #include using namespace std; int findMatch(char *p, char*t) { int plen, tlen; plen = strlen(p); tlen = strlen(t); for(int i=0; i<=(tlen-plen); i++) { int j=0; while((j