Count occurrences of a substring: Difference between revisions
Content deleted Content added
Line 41:
#include <string.h>
int match(const char *s, const char *p, int overlap)
{
int c = 0, l = strlen(p);
|
Line 41:
#include <string.h>
int match(const char *s, const char *p, int overlap)
{
int c = 0, l = strlen(p);
|