# 初步基本介紹 ## 引入函式庫 ```cpp #include<iostream> ``` 更強的 ```cpp #include<bits/stdc++.h> ``` ## std:: 所有C++的語法前面幾乎都需要加上std::,如果不想這麼麻煩,就加上下面這行 ```cpp using namespace std ``` 如果不加 ```cpp std::cout << "Hello world" << '\n'; ``` 加的話 ```cpp cout << "Hello world" << '\n'; ``` ## 最後基礎模板 ```cpp= #include<iostream> using namespace std; int main(){ cout << "Hello world" << '\n'; } ``` ###### tags: `中和高中`