Blame view

correcteur.h 517 Bytes
6d28d90b   Fontaine Maxime   Désolé pour le re...
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
  #include <stdio.h>
  #include <stdlib.h>
  #include <stdbool.h>
  #include <string.h>
  
  #define size 255
  
  typedef struct node {
      char l;
      struct node * lettres[size];
      bool fin_de_mot;
  } Node;
  
  
  bool is_empty(struct node * );
  
  void ajout(Node **, char);
  
  void ajout_alphab(Node **, char *, int);
  
  Node * charger_arbre(Node **, char *);
  
  void affichage_arbre(Node *);
  
  void detruire_arbre(Node **);
  
  void initialisation(Node **);
  
  int  comparaison(Node ** , char * ,int ,int *);
  
  void test_erreur(Node *,char *);