let's say, I have one *.h file and 4 *.cpp files.
*.h file which named global.h. It contains all the variables and functions that the other *.cpp. as defined here, for example:
int Game_Start_Time = 0;
and the other 4 *.cpp files are player.cpp, enemy.cpp, weapons.cpp and main.cpp.
I included global.h for every *.cpp file, but somehow I got such kind of error, Game_Start_time already defined in player.obj
or enemy.obj or main.obj or weapons.obj.
I just could not figure it out, someone could tell me please