Bonjour à tous ,
J'ai un souci d'erreur de segmentation avec ma fonction qui affiche les mots stockés dans un tableau rempli à partir d'un fichier binaire :
L'erreur se trouve exactement ici :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 void DoubleParcoursTablefren(FILE *pfOut, MotCompact const pcMots1[],MotCompact const pcMots2[]) { size_t iMot1,iMot2; for(iMot1=0 ; iMot1<100 ; iMot1++) { printf("%s \n",GetMotCompact(pcMots1+iMot1)); } putchar('\n'); }dans un fichier stdio2.h
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 __extern_always_inline int printf (__const char *__restrict __fmt, ...) { return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); }
des reponses?
merci
Partager