【C言語初心者向け】Visual Studioのインストール方法を画像つきでわかりやすく解説

Uncategorized

こんにちは。社会人1年目のエンジニアです。
このブログでは「プログラミング未経験」だった自分がC言語を学んだ経験をもとに、初心者でもわかるよう丁寧に解説していきます。

🔰 はじめに:なぜVisual Studioが必要?

C言語を学ぶには、まずプログラムを書くための「開発環境」が必要です。
その中でも Visual Studio は、初心者でも使いやすく、C言語だけでなく他の言語にも対応している人気の高い開発ツールです。


🧰今回のゴール

  • Visual Studioのダウンロード・インストール
  • C言語が書ける環境(C/C++開発環境)を整える

手順1:Visual Studioの公式サイトへアクセス

まずは以下のURLからVisual Studioの公式ページにアクセスします。

🔗 https://visualstudio.microsoft.com/ja/downloads/


手順2:無料の「Community版」をダウンロード

Visual Studio にはいくつかのバージョンがありますが、個人学習用途であれば「Community版(無料)」で問題ありません。

「Visual Studio Community 2022」の「無料ダウンロード」ボタンをクリックします。

私が初めてプログラミングに挑戦したときは、どれをダウンロードすればよいか分からず

これだけでも一苦労でした😓


💾 手順3:インストーラーを起動

ダウンロードした .exe ファイルをダブルクリックするとインストーラーが起動します。

画面の手順に従って「はい」を選択します。


「続行」をクリックしてインストールを進めます。

インストーラが頑張っているので待ちます。

🧩 手順4:ワークロードの選択(C++を選ぶ)

インストール画面で「ワークロード」というものが表示されます。

ここでは、「C++によるデスクトップ開発」と「.NET デスクトップ開発」にチェックを入れてください。

とりあえずこの2つを選択しておけば問題ありません。
C言語もこのワークロードで開発できます。

この設定は後で変更できるのでご心配なく!

そのまま画面下の「インストール」ボタンをクリック。


⏳ 手順5:インストール完了を待つ

インストールには数分〜10分ほどかかります(ネット環境によって異なります)。

ここは少し時間がかかるのでYouTubeでも見ながら気長に待ちましょう。

ちなみに私は10分以上かかりました…
完了後、Visual Studio が自動で立ち上がります。


🚀 手順6:初回起動時の設定(テーマなど)

起動後、以下のような初期設定がありますが、基本的にはデフォルトでOKです。

  • テーマ(ライト/ダークなど)
  • 開発用途(「C++」を選択すると便利)

Microsoftアカウントでサインインする画面が表示されるので、

Visual Studioにサインインする場合は、「サインイン」ボタンから行ってください。

サインインするメリットは、こちらに記載があります。


✅ まとめ:これでC言語の準備が整いました!

これでVisual Studioのインストールと、C言語を学ぶための環境構築が完了しました。

次回は、実際にC言語で「Hello, World!」を書いて動かしてみるところから始めていきましょう!


🔜 次回予告:「Hello, World!」を書いてみよう

Visual Studioで実際にC言語を書いて動かすところまで、次回は画像付きで解説します!

コメント

  1. Oh my goodness! Incredible article dude! Thank you, However I am encountering issues with your
    RSS. I don’t understand the reason why I cannot join it.
    Is there anybody else having the same RSS problems?

    Anyone that knows the solution will you kindly
    respond? Thanks!!

  2. Someone necessarily assist to make severely articles I would state.
    This is the very first time I frequented your website page and
    thus far? I surprised with the analysis you made to create this actual
    submit extraordinary. Fantastic task!

  3. Awesome! Its really awesome post, I have got much clear idea regarding from this article.

  4. fbs アプリ より:

    I’m not sure exactly why but this weblog is loading incredibly slow for
    me. Is anyone else having this problem or is it a problem on my end?

    I’ll check back later and see if the problem still exists.

  5. Excellent, what a weblog it is! This weblog presents useful data to us, keep it up.

  6. I always used to read paragraph in news papers but now as I am a
    user of web thus from now I am using net for articles or reviews, thanks to web.

  7. Pretty element of content. I just stumbled upon your site and in accession capital
    to say that I acquire in fact loved account your blog posts.

    Anyway I will be subscribing on your feeds or even I achievement you get admission to constantly quickly.

  8. My spouse and I absolutely love your blog and find most of your post’s to
    be what precisely I’m looking for. Would you offer guest writers to write content for you personally?
    I wouldn’t mind producing a post or elaborating on a few of the subjects you write in relation to here.
    Again, awesome web log!

タイトルとURLをコピーしました