Problème avec ma structure
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
Code:
1 2 3 4 5
| typedef struct
{
...
....
}client; |
mais à l'appel dans mon fichier client.c sous la forme client cl ensuite cl.nom
il me dit:
Citation:
error: 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 ===
Si quelqu'un aurait une idée du problème
merci d'avance