My program uses multiple source files wich uses some global variables. I made a header file called globals.h and included it in every source file. I used #ifndef .. #define ... etc.
When I try to run my program, it says that the variables are already declared in the other source file and gives an error, but my program still runs fine!!
So how do I get around those errors, cause a lot of errors in a code cant be right