---
# System prepended metadata

title: C++ / VScode Development

---

# C++ / VScode Development

## 編譯流程
![](https://i.imgur.com/dd168eg.png)

## GCC編譯
需先安裝MinGW，加入環境變數。

C:> gcc hello.c -o hello.exe
C:> .\hello.exe

![](https://i.imgur.com/sH1kvGX.png)

## IDE
![](https://i.imgur.com/WXV15Yg.png)

## VScode

1. task.json 編譯產生 (terminal > configure default build task)(ctrl shift B)
2. launch.json 除錯產生 (run >add configuration )(F5 debugging)

## C編程6步驟
![](https://i.imgur.com/dEJzLIc.png)

