摘要:
A static global variable is local to the translation unit it is defined in. So, if you define static int a; in two different translation units, this will create two independent variables. If you define a non-static global variable int b; in two translation units, you will experience a linker error ( 阅读全文
posted @ 2011-04-13 11:09
SmartVessel
阅读(537)
评论(0)
推荐(0)