?? namespace.cpp
字號:
#include <iostream>
#include <string>
using namespace std;
namespace user1
{
string user_name = "WZR";
}
namespace user2
{
string user_name = "GWZ";
}
int main()
{
cout << "\n" << "Hello " << user1::user_name;
cout << "\n" << "Hello " << user2::user_name;
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -