using namespace std;

using namespace std; using namespace std;告訴編譯器這個文件中包含C++標準庫。若是沒有使用,那麼庫函數中的每個關鍵字都要有前綴std::表明它的範圍;using語句的使用是代碼更加簡潔。 圖片:
相關文章
相關標籤/搜索