Commit 121c460c authored by Julien David's avatar Julien David
Browse files

Ajout arguments fichier main

parent 28e530a5
......@@ -15,5 +15,7 @@ int main(int argc,char ** argv){
nb_occ=recherche(argv[1],argv[2],n,m,k);
printf("%d occurrences trouvées en %d comparaisons\n",nb_occ,nb_comparaisons);
}
else
printf("Le programme prend trois arguments en entrée: texte motif taille_alphabet\n");
return EXIT_SUCCESS;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment