General information
Title:
Where to keep names of Objects
Morning
I have various programs in my application that will sometimes need to identify the area that the user is currently in by referencing the Class Object Name (Ie the currently visible object will be the area that the user is in).
However, I am a bit hesitant to go ahead and hard-code these names in to my programs in case they ever change.
I was thinking of keeping the Object names I need in a compile-time constant in a H file.
All I want to know is, is that the best way to handle this?
Thanks
Kev
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only