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 /////
////// 1.cpp //////
////// 2.cpp //////
How can I solve this problem? Thanks any help!