Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I think it depends on what's in the header file. If there are only variables, I still think it's better to include it only once. Variables can be and are modified. What are you doing if you modify a variable (at runtime) and want to keep this new value into another form (that includes the header file)?
>
>i only use header files to hold constants...
I just told the same to Tom: "Me too." But the quetion was about a variable in a header file. So, I supposed we are talking about that header file.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement