Commit 1a0b6cae9f5578ab2b262006663c44f39a57ef8f
1 parent
e67ab31b
add main.c
Showing
1 changed file
with
16 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,16 @@ | @@ -0,0 +1,16 @@ | ||
1 | +#include "projet.h" | ||
2 | + | ||
3 | +int main (){ | ||
4 | + dico d; | ||
5 | + initialiser_dictionnaire(d.dictionnaire); | ||
6 | + insertion_dictionnaire(d.dictionnaire); | ||
7 | + printf("-----------------------------------------------------------\n"); | ||
8 | + printf("Bienvenue dans le correcteur orthographique de HAROUN V1.0\n"); | ||
9 | + printf("-----------------------------------------------------------\n"); | ||
10 | + printf("\nvoici les fautes dans le texte: \n \n"); | ||
11 | + corriger_texte(d.dictionnaire); | ||
12 | + desallouer_dictionnaire(d.dictionnaire); | ||
13 | + printf("\n"); | ||
14 | + | ||
15 | + return 0; | ||
16 | +} | ||
0 | \ No newline at end of file | 17 | \ No newline at end of file |