From 6262470e0bb0c3a8ef68147efc72de1125e4bccc Mon Sep 17 00:00:00 2001 From: tvieuble Date: Wed, 1 May 2019 16:14:45 +0200 Subject: [PATCH] modification projetfinalaccent2.c --- projetfinalaccent2.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/projetfinalaccent2.c b/projetfinalaccent2.c index 2db6322..900fbe5 100644 --- a/projetfinalaccent2.c +++ b/projetfinalaccent2.c @@ -80,13 +80,13 @@ void remplir_dico(FILE* fd, struct node tab_arbre_prcp[]) { localisationArbre = &tab_arbre_prcp[indice].listeFils; if(indice == -1) { wprintf(L"Erreur remplissage dico : L'un des caracteres n'est pas une lettre\n"); - wprintf(L"Mot : %ls incorrect\n", motLu); + wprintf(L"Mot : '%ls' incorrect\n", motLu); estUneLettre = 0; } } else { wprintf(L"Erreur remplissage dico : L'un des caracteres n'est pas une lettre\n"); - wprintf(L"Mot : %ls incorrect\n", motLu); + wprintf(L"Mot : '%ls' incorrect\n", motLu); estUneLettre = 0; } while((motLu[i] != '\0') && (estUneLettre == 1)) { @@ -145,7 +145,7 @@ void correction_txt(FILE* fd, struct node tab_arbre_prcp[]) { localisationArbre = test_mot(motLu[i], localisationArbre, &verif); } if(verif == 0) { - wprintf(L"Mot %ls non present dans le dicitonnaire.\n", motLu); + wprintf(L"Mot '%ls' non present dans le dicitonnaire.\n", motLu); cptfaute += 1; } } @@ -187,9 +187,9 @@ void correction_mot(struct node tab_arbre_prcp[]) { localisationArbre = test_mot(motLu[i], localisationArbre, &verif); } if(verif == 0) { - wprintf(L"Mot : %ls non present dans le dicitonnaire.\n", motLu); + wprintf(L"Mot : '%ls' non present dans le dicitonnaire.\n", motLu); } - else wprintf(L"Mot : %ls correct\n", motLu); + else wprintf(L"Mot : '%ls' correct\n", motLu); } } -- libgit2 0.21.2