https://www.cnblogs.com/wanghetao/p/4492582.html 1. 用extern修饰的全局变量 以上已经说了extern的作用,下面我们来举个例子,如: 在test1.h中有下列声明: #ifndef TEST1H #define TEST1H extern c Read More
posted @ 2018-11-22 16:08 rainsoul Views(199) Comments(0) Diggs(0) Edit