there are other files:
one.h
one.cpp
two.h
two.cpp
if there is a variable defined in one.cpp
int a;
and declared in one.h
externint a;
and there is a varialbe defined in two.cpp
int b;
but the variable b is not declared in two.h
then, I think a is a global variable in main.cpp
b is a global variable in two.cpp but not visible in main.cpp
if I want a to be a global variable in two.cpp, what should I do?
thank you!