From 60787f425770d260903c4cd95564f27dd7d814dd Mon Sep 17 00:00:00 2001 From: tvieuble Date: Wed, 1 May 2019 15:24:37 +0200 Subject: [PATCH] correction fonctions.h --- fonctions.h | 10 +++++----- projetfinalaccent2.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fonctions.h b/fonctions.h index b0d15cd..710209b 100644 --- a/fonctions.h +++ b/fonctions.h @@ -19,18 +19,18 @@ void ajout_tete(wchar_t, struct cell**); struct cell ** insertion(wchar_t, struct cell**); -void initialisation_tab_arbre(struct node); +void initialisation_tab_arbre(struct node[]); -int indice_lettre(struct node, wchar_t); +int indice_lettre(struct node[], wchar_t); -void remplir_dico(FILE*, struct node); +void remplir_dico(FILE*, struct node[]); struct cell ** test_mot(wchar_t, struct cell**, int*); -void correction_txt(FILE, struct node); +void correction_txt(FILE*, struct node[]); void correction_mot(struct node); void desalocationArbre(struct cell**); -void desalocationTableauArbre(struct node); \ No newline at end of file +void desalocationTableauArbre(struct node[]); \ No newline at end of file diff --git a/projetfinalaccent2.c b/projetfinalaccent2.c index 103cbd5..64c0f40 100644 --- a/projetfinalaccent2.c +++ b/projetfinalaccent2.c @@ -149,7 +149,7 @@ void correction_txt(FILE* fd, struct node tab_arbre_prcp[]) { cptfaute += 1; } } - printf("Le texte comporte %d faute(s)\n", cptfaute); + wprintf(L"Le texte comporte %d faute(s)\n", cptfaute); fclose(fd); } -- libgit2 0.21.2