/* main.c */ #include #include "hachage_simple.h" int hachage_basique (double d) { return (int)d % N; } int main () { struct table T; double x; init_table (&T, &hachage_basique); scanf ("%lf", &x); while (x != -1){ enregistrer_table (&T, x); imprimer_table (&T); scanf ("%lf", &x); } clear_table (&T); return 0; }