Cela ne fonctionne pas.
Contenu de "variables.h" :
struct struct_structure
{
char v1[15];
char v2[15];
int x;
}
struct_structure mastrucure[1]={0};
Contenu de "init.h" :
mastructure->x=1;
Dans le .cpp :
la variable mastructure->x vaut 0 !!!!
Serait-il possible d'avoir un exemple complet ?
Merci.