---
# System prepended metadata

title: C++ Blockly 教學
tags: [C++教學]

---

# C++ Blockly 教學
## 本篇主旨:教會你怎麼拉方塊寫程式
### cin/cout
1. 先點開變數分類並拉出這兩個變數方塊
![image](https://hackmd.io/_uploads/ry9CwDyu1e.png)

2. 接著點開輸入輸出分類拉出輸入和輸出方塊
![image](https://hackmd.io/_uploads/Byp2wvkuyg.png)

3.把方塊丟進去組合完會長這樣:
![image](https://hackmd.io/_uploads/Hk1N_PyOJe.png)

4.接著按下這個按鈕並且輸入數字在測資區送出即可完成!
![image](https://hackmd.io/_uploads/HkD8dwy_yl.png)

5.成果會長這樣:
![image](https://hackmd.io/_uploads/Skq5_w1Okg.png)


