Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
What's the DEFINE scope?
Versions des environnements
Hello,
I have a constants .h file.
And I need those constants to be avaible from every single object. Everywhere.
Yes, I've saw _INCLUDE, but it seems doesn't work as I've expected. COnstants are now recognized from iside the object.
So, I have :
a constants.h file
a cst class that's a custom subclass, and many other subclasses with many methods each.
I want to be able to use those constants there.
Do I need to type #Include in every method? What's the best solution?
Thanks in advance!
Pablo S.
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