Commit b040f3fa374828283ccb41415194f6b8696ee610
1 parent
90ed8cb2
add projet.h
Showing
1 changed file
with
40 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,40 @@ | @@ -0,0 +1,40 @@ | ||
1 | +#include <stdio.h> | ||
2 | +#include <stdlib.h> | ||
3 | +#include <string.h> | ||
4 | +#include <stdbool.h> | ||
5 | +#include <ctype.h> | ||
6 | + | ||
7 | +typedef struct noeud { | ||
8 | + int valeur; | ||
9 | + struct noeud *lettre[28]; | ||
10 | +} noeud ; | ||
11 | + | ||
12 | +typedef struct{ | ||
13 | + noeud *dictionnaire[26]; | ||
14 | +} dico; | ||
15 | + | ||
16 | +void creer_et_initialiser_le_noeud(noeud ** parbre, int v); | ||
17 | + | ||
18 | +void remplissage(noeud ** parbre, char ch[128]); | ||
19 | + | ||
20 | +void lecture(noeud ** parbre, FILE *fichier,int v); | ||
21 | + | ||
22 | +void insertion_dictionnaire(noeud * Arbre[26]); | ||
23 | + | ||
24 | +void initialiser_dictionnaire(noeud * Arbre[26]); | ||
25 | + | ||
26 | +int existe(noeud ** parbre,char ch[128]); | ||
27 | + | ||
28 | +void corriger_texte(noeud*arbre[26]); | ||
29 | + | ||
30 | +void desallouer_arbre(noeud *arbre); | ||
31 | + | ||
32 | +void desallouer_dictionnaire(noeud*arbre[26]); | ||
33 | + | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + |