Bonjour
j'ai une erreur depuis un moment je cherche une solution mais rien ne semble marcher et je ne comprends plus...
sur un fichier structures.h j'ai défini ma structure
mais à l'appel dans mon fichier client.c sous la forme client cl ensuite cl.nom
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 typedef struct { ... .... }client;
il me dit:
Si quelqu'un aurait une idée du problèmeerror: request for member `cl' in something not a structure or union
error: `cl' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
error: for each function it appears in.)
:: === Build finished: 4 errors, 0 warnings ===
merci d'avance
Partager