exercise 环境 VC6.0 如果要使用全局变量,需要在使用的文件中 加入 extern ***; 而函数默认情况下就是 extern ,不需要包含相应的头文件就可以使用非 static 的函数。