I have a class with a class.h and i have a global.h (witch hold global macros and a struct) The global.h is included both in the main.cpp and the class.cpp and this give me the error:
"struct carbon * carbs" (?carbs@@3PAUcarbon@@A) already defined in creature.obj
Moschops, thanks for replying. I can see from the last example in the link that global variables are so evil, they are capable of starting WW3! This is bad :-) I shal try another way of doing this.