// localiser-naivement.c
// << Algorithmique du texte >>
// Maxime Crochemore, Christophe Hancart et Thierry Lecroq
// Vuibert, 2001.
#include <stdio.h>
#include "chl.h"
void localiserNaivement(Mot x, Longueur m, Mot y, Longueur n) {
int j;
for (j = 0; j <= n - m; ++j)
signalerSi(strncmp(x, y + j, m) == 0);
}