hachage_simple.c
596 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include "hachage_simple.h"
#include "liste_double.h"
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdbool.h>
void init_table (struct table* T, fonction_hachage* H){
int i = 0;
for(i=0; i<N;i++){
init_liste_double (&T->tab[N].L);
}
}
void clear_table (struct table* T){
int i = 0;
for(i=0; i<N;i++){
clear_liste_double (&T->tab[N].L);
}
}
void enregistrer_table (struct table* T, double d){
}
bool rechercher_table (struct table* T, double d){
return true;
}
void imprimer_table (struct table* T){
}