摘要: 1 const对象默认为文件的局部变量(P50)a.cppconst int a = 1;b.cppextern int a;//undefined reference to "a"a.cppint a = 1;b.cppextern int a;//OKa.cppextern const int ... 阅读全文
posted @ 2015-03-18 15:09 bupt_lyn 阅读(125) 评论(0) 推荐(0) 编辑