Yop, j'ai fait ma bibliothèque :
Et j'ai aussi définit dans le main :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 #ifndef BIBLIO #define BIBLIO #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #endif
Mais je me demande si je peux pas rajouter cette ligne dans BIBLIO?
Code : Sélectionner tout - Visualiser dans une fenêtre à part #define TAILLE_MAX 80
Comme ça :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 #ifndef BIBLIO #define BIBLIO #define TAILLE_MAX 80 #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #endif
Partager