0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

C++の開発環境を用意から"Hello World"をコンパイルして実行する【Mac編】

Posted at

C++の開発環境を用意から"Hello World"をコンパイルして実行する【Mac編】

1.Visual Studio Codeをダウンロード

Qiita_0.png

2.Visual Studio Codeの拡張機能をクリック

スクリーンショット 2021-03-07 23.32.38.png

3.C/C++をインストール

スクリーンショット 2021-03-07 23.35.34.png

4.RunCoderをインストール

スクリーンショット 2021-03-07 23.35.46.png

5.ファィル作成→今回はindex.cppと記載(ソースコードは下記を参照)

# include <iostream>

int main(void){
    printf("hello world");
    return 0;
}

6.右上の▶️ボタンをクリック(このボタンをコンパイラと言います。)

スクリーンショット 2021-03-07 23.47.35.png

コンパイル完了です!

スクリーンショット 2021-03-07 23.40.35.png

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?