Blame view

projet.h 666 Bytes
b040f3fa   hraouak   add projet.h
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
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
  #include <stdbool.h>
  #include <ctype.h>
  
  typedef struct noeud {
    int valeur;
    struct noeud *lettre[28];
  } noeud ;
  
  typedef struct{
  	noeud *dictionnaire[26];
  } dico;
  
  void creer_et_initialiser_le_noeud(noeud ** parbre, int v);
  
  void remplissage(noeud ** parbre, char ch[128]);
  
  void lecture(noeud ** parbre, FILE *fichier,int v);
  
  void insertion_dictionnaire(noeud * Arbre[26]);
  
  void initialiser_dictionnaire(noeud * Arbre[26]);
  
  int existe(noeud ** parbre,char ch[128]);
  
  void corriger_texte(noeud*arbre[26]);
  
  void desallouer_arbre(noeud *arbre);
  
  void desallouer_dictionnaire(noeud*arbre[26]);