correcteur.h
517 Bytes
#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 *);