経緯
なんかしたい、せっかくMacBookPro買ったんだし。そういうこと。
インストール
ここを見ながらとりあえずやってみる
https://code.visualstudio.com/docs/setup/setup-overview
[Macの手順はこちら]
https://code.visualstudio.com/docs/setup/mac
-
まずはダウンロード
mac版はここからダウンロードできるみたい
※アクセスしたらいきなりダウンロードがはじまる!
https://code.visualstudio.com/docs?dv=osx
-
ダウンロードしてきたファイルをとりあえず解凍














- たぶんできた
特に気になることはなかったのかな?

- Xcodeもついでに導入
お決まりのHello Worldを表示してみよう!
C++とか全然使わないけどC++に挑戦だな(キリッ
げ、先にgccのインストールが必要なのね。当たり前か。
Xcodeをインストールするのが一番簡単そうかな?
AppStoreでダウンロード(評判いまいちなのねw)





- 拡張機能
C/C++とRunnnerってのをいれてみるといいみたい。
なにができるのかはほぼ謎


-
シェルを作る
まずはシェルを作るのかな
とりあえず適当なフォルダを作ってそこに置いてみます。
参考記事から丸パクリcpp.sh#!/bin/sh clang++ -o out $1
./out
rm out
```
- Runnerの設定
[Code > 基本設定 > 設定]

```"runner.languageMap": {
"cpp" : "/Users/<ユーザー名>/Desktop/Visual Studio Code/sh/cpp.sh"
}```

- ソースファイルの作成
やっとたどりつきました。[ファイル > 新規ファイル]



- なんだかんだで
できたのかもしれない。今度はFlutterの開発環境構築したい。疲れました。
参考記事
https://gabekore.org/vscode-c-mac
https://qiita.com/dockurage/items/49e7295e7ff7458e26cd