namespace2.cc
来自「压缩包里有教材<<C++模式设计-基于QT4开源跨平台开发框架>」· CC 代码 · 共 18 行
CC
18 行
#include "a.h"#include "b.h"int main() { using A::f; /* declaration - brings A::f() into scope */ f(); using namespace B; /* directive - brings all of B into scope */ g(); /* okay */ f(); /* ambiguous */}/*OUTf from Ag from Bf from A*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?