Hi everyone!
I have a .h file in which I declare a global variable.
Many .cpp files include my .h, and this generates an error in my linker.
////// my.h /////
int variable;
////// 1.cpp //////
#include ¨my.h¨
////// 2.cpp //////
#include ¨my.h¨
How can I solve this problem? Thanks any help!