Commit e2e3c812e8a782296d60a04b078e56f88d1dd919
1 parent
804ad89a
projet
Showing
1 changed file
with
25 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,25 @@ | @@ -0,0 +1,25 @@ | ||
1 | + | ||
2 | + | ||
3 | +#include <string.h> | ||
4 | +#include <stdio.h> | ||
5 | +#include <stdlib.h> | ||
6 | +#include <stdbool.h> | ||
7 | + | ||
8 | + | ||
9 | +struct noeud{ | ||
10 | + char valeur; | ||
11 | + struct noeud* liste_noeud; | ||
12 | + int nbfils; | ||
13 | + bool complet; | ||
14 | +}; | ||
15 | + | ||
16 | +struct dictionnaire{ | ||
17 | + struct noeud *tetes; | ||
18 | + int nbelem; | ||
19 | +}; | ||
20 | + | ||
21 | +extern void init_dictionnaire(struct dictionnaire*) ; | ||
22 | +extern void cons_dictionnaire(struct dictionnaire*, char*); | ||
23 | +extern void ajout_mot(struct dictionnaire * , char*) ; | ||
24 | +extern bool appartient_mot(struct dictionnaire *D, char * MOT) ; | ||
25 | +extern void correction(struct dictionnaire *D, char *phrase); |