Commit 60787f425770d260903c4cd95564f27dd7d814dd
1 parent
54b57c55
correction fonctions.h
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
fonctions.h
@@ -19,18 +19,18 @@ void ajout_tete(wchar_t, struct cell**); | @@ -19,18 +19,18 @@ void ajout_tete(wchar_t, struct cell**); | ||
19 | 19 | ||
20 | struct cell ** insertion(wchar_t, struct cell**); | 20 | struct cell ** insertion(wchar_t, struct cell**); |
21 | 21 | ||
22 | -void initialisation_tab_arbre(struct node); | 22 | +void initialisation_tab_arbre(struct node[]); |
23 | 23 | ||
24 | -int indice_lettre(struct node, wchar_t); | 24 | +int indice_lettre(struct node[], wchar_t); |
25 | 25 | ||
26 | -void remplir_dico(FILE*, struct node); | 26 | +void remplir_dico(FILE*, struct node[]); |
27 | 27 | ||
28 | struct cell ** test_mot(wchar_t, struct cell**, int*); | 28 | struct cell ** test_mot(wchar_t, struct cell**, int*); |
29 | 29 | ||
30 | -void correction_txt(FILE, struct node); | 30 | +void correction_txt(FILE*, struct node[]); |
31 | 31 | ||
32 | void correction_mot(struct node); | 32 | void correction_mot(struct node); |
33 | 33 | ||
34 | void desalocationArbre(struct cell**); | 34 | void desalocationArbre(struct cell**); |
35 | 35 | ||
36 | -void desalocationTableauArbre(struct node); | ||
37 | \ No newline at end of file | 36 | \ No newline at end of file |
37 | +void desalocationTableauArbre(struct node[]); | ||
38 | \ No newline at end of file | 38 | \ No newline at end of file |
projetfinalaccent2.c
@@ -149,7 +149,7 @@ void correction_txt(FILE* fd, struct node tab_arbre_prcp[]) { | @@ -149,7 +149,7 @@ void correction_txt(FILE* fd, struct node tab_arbre_prcp[]) { | ||
149 | cptfaute += 1; | 149 | cptfaute += 1; |
150 | } | 150 | } |
151 | } | 151 | } |
152 | - printf("Le texte comporte %d faute(s)\n", cptfaute); | 152 | + wprintf(L"Le texte comporte %d faute(s)\n", cptfaute); |
153 | fclose(fd); | 153 | fclose(fd); |
154 | } | 154 | } |
155 | 155 |