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: Include_Test.zip