我发现我可以在没有 include 任何头文件的情况下 using namespace std; 请问这是为什么?
using namespace std;
using namespace std; main() { };
入上述程序可以过编译并正常运行。
为了对照,随便写一个并不存在的命名空间就不行:
using namespace Luogu; main() { };
上面这就编译失败:[Error] 'Luogu' is not a namespace-name
[Error] 'Luogu' is not a namespace-name
求大佬指点