General information
Category:
Coding, syntax & commands
Title:
Referencing Header File Constants Throughout an Application
Greetings!
I'm following the example in the TASTRADE project regarding the inclusion of header (.H) files with defined constants. In the program I have set as Main, I have an #INCLUDE statement, referring to a header file in my project.
In the header file, I have one #DEFINE statement so far. The problem I am experiencing is that the #DEFINEd constant can only be recognized in the Main program, and not any other routines, such as in a custom class containing library functions.
I checked the TASTRADE project, and its constants are being referenced globally. So, why is my program malfunctioning, and what can I do to correct it?
Thank you!
Michael Reynolds
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