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 : Sélectionner tout - Visualiser dans une fenêtre à part
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:
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