AnsweredAssumed Answered


Question asked by Ray Hall on Aug 9, 2013
Latest reply on Aug 11, 2013 by ZhangJennie

I am constantly having errors that something has been duplicated in another file.  I have global data (structure) that is declared in a file called main.h. Any other file that needs this data cannot see it, so I add #include "main.h" which causes errors.


It is like you have to write all you code in one huge file to use global values. Split the code into separate files and you cannot use them. Why is the language so restrictive. If not then how do you do it.


Attached is a simple test problem that shows the problem.



Original Attachment has been moved to: