摘要: 若全局变量统一在一个文件里,有两种方法: 统一在头文件 文件名:VariablesDefiniation.h #ifndef a #define a int a; int b; ··· #endif 文件名:VariablesDeclearation.h #ifndef b #define b ex 阅读全文
posted @ 2021-03-24 09:05 clayyjh 阅读(333) 评论(0) 推荐(0)