摘要: 命名空间关键字:namespace namespace A { int x = 0; void f1(); void f2(); } namespace B { int x = 2; void f1(); void f3(); } cout << A::x<<endl; B::f1(); #incl 阅读全文
posted @ 2016-09-10 14:41 sarah_lxq 阅读(271) 评论(0) 推荐(0) 编辑