A more current take on the situation. During 2018, the C extension added another option to the configuration compilerPath of the ccppproperties.json file. CompilerPath (optional) The absolute path to the compiler you use to build your project. The extension will query the compiler to determine the system include paths and default defines to use for IntelliSense. You can install the C/C extension by searching for 'c' in the Extensions view ( Ctrl+Shift+X ). Install the Microsoft Visual C (MSVC) compiler toolset. If you have a recent version of Visual Studio, open the Visual Studio Installer from the Windows Start menu and verify that the C workload is checked. V-Contact VSC Installation and service instructions 7.2/12 kV - 400 A For your safety! Introduction 2 II. Programme for environmental protection 2 III. Application of the standards for X-ray emission 3 IV. Safety information 3 V. Qualified personnel 3 VI.Interventions in the field 3 1. Description 4 1.1. “MAC” magnetic drive 4 1.2.
Notice
Some of the downloads that are mentioned in this article are currently available on My.VisualStudio.com. Make sure to log in by using a Visual Studio Subscription account so that you can access the download links.
If you are asked for credentials, use your existing Visual Studio subscription account or create a free account by selecting 'Create a new Microsoft account.'
Summary
This article lists the download links for the latest versions of Microsoft Visual C++.
Visual Studio 2015, 2017 and 2019
Download the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019. The following updates are the latest supported Visual C++ redistributable packages for Visual Studio 2015, 2017 and 2019. Included is a baseline version of the Universal C Runtime see MSDN for details.
x86: vc_redist.x86.exe
x64: vc_redist.x64.exe
ARM64: vc_redist.arm64.exe
Note Visual C++ 2015, 2017 and 2019 all share the same redistributable files.
For example, installing the Visual C++ 2019 redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 redistributable will not replace the newer versions of the files installed by the Visual C++ 2017 and 2019 redistributables.
This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions.
Visual Studio 2013 (VC++ 12.0)
Download the Microsoft Visual C++ Redistributable Packages for Visual Studio 2013. This is the latest supported Visual C++ redistributable package for Visual Studio 2013.
Download Multibyte MFC Library for Visual Studio 2013. This add-on for Visual Studio 2013 contains the multibyte character set (MBCS) version of the Microsoft Foundation Class (MFC) Library.
Download Visual C++ 2013 Runtime for Sideloaded Windows 8.1 apps.
For more information, see C++ Runtime for Sideloaded Windows 8.1 apps on the VC++ Team Blog.
Visual Studio 2012 (VC++ 11.0)
Download the Microsoft Visual C++ Redistributable Packages for Visual Studio 2012 Update 4. This is the latest supported Visual C++ redistributable package for Visual Studio 2012.
Visual Studio 2010 (VC++ 10.0) SP1
Download the Visual Studio 2010 Service Pack 1 (Installer). This is the latest supported Visual C++ service pack for Visual Studio 2010.
Note: This web installer requires an internet connection. This installer downloads and installs Visual Studio 2010 Service Pack 1. It works for all editions of Visual Studio 2010 (Express, Professional, Premium, Ultimate, and Test Professional).
Download the Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update. This is the latest supported Visual C++ redistributable package update for Visual Studio 2010.

Visual Studio 2008 (VC++ 9.0) SP1
Visual Studio 2008 reached end of support on April 10, 2018. To aid the discovery of the latest downloads, the links are retained currently, but may be removed in the future.
Download the Visual Studio 2008 Service Pack 1 (Installer). This is the latest Visual C++ service pack for Visual Studio 2008. This service pack improved responsiveness, stability, and performance.
Note This download installs Visual Studio 2008 Service Pack 1 and Microsoft .NET Framework 3.5 SP1.Download the Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package MFC Security Update. This is the latest Visual C++ redistributable package update for Visual Studio 2008.
Visual C++ Redistributable Packages
Visual C++ Redistributable Packages install runtime components of Visual C++ Libraries on a computer that does not have Visual C++ installed. The libraries are required to run applications that are developed by using the corresponding version of Visual C++.
For Visual Studio 2008
These packages install runtime components of C Runtime (CRT), Standard C++, ATL, MFC, OpenMP and MSDIA libraries. They are installed into the native assembly cache, also known as the WinSxS folder. They are installed on versions of Windows operating systems that support side-by-side assemblies, for libraries that support side-by-side deployment models (CRT, STL, ATL, MFC, OpenMP).
Vsc C++ Mac
Microsoft Foundation Class Library Security Update
A security issue was identified. This issue causes a Microsoft Foundation Class Library application vulnerability in your Windows-based system that uses the Visual C++ Redist. The Microsoft Foundation Class Library Security Update packages in this article have the most current redistributable files for Visual Studio.
PS: This was published on my Blog here.
C++ is a statically-typed, free-form, (usually) compiled, multi-paradigm, intermediate-level general-purpose middle-level programming language.
Vsc C++
In simple terms, C++ is a sophisticated, efficient, general-purpose programming language based on C.
It was developed by Bjarne Stroustrup in 1979.
One of C++'s main features is the compiler. This is used to compile and run C++ code.
A compiler is a special program that processes statements written in a particular programming language like C++ and turns them into machine language or 'code' that a computer's processor uses.
I actually wrote this article because I had a C++ assignment which required using a compiler. As usual, everyone was using the CodeBlocks IDE and Visual Studio IDE. But I was already used to Visual Studio Code for all my programming stuff.
I then set out to find a way of compiling C++ directly inside my own VsCode Editor, hence this article :).
In this article, I'll show you how to set up your compiler in VsCode and give you some links to some of the best C++ resources.
- Prior knowledge of C++
(I assume you're learning C++, about to start learning, or just reading this for fun. This article is not a C++ 101 tutorial – some understanding of C++ is needed.) - Visual Studio Code Editor
Download here and read the setup docs for Windows, Linux and Mac - Internet connection (!important)
Disclaimer!
I will be using a Windows OS throughout this article, but I'll provide links to resources that will help those using other operating systems.
Now let's get started!
- Head to www.mingw.org and click the “Download/Installer” link to download the MinGW setup file, or click here for Windows, here for Linux, and here for Mac
MinGW, a contraction of 'Minimalist GNU for Windows', is a minimalist development environment for native Microsoft Windows applications.
- After downloading, install MinGW and wait for the “MinGW Installation Manager” to show up.
- When the “MinGW Installation Manager” shows up, click on
mingw32-gcc-g++
then select “Mark for Installation”
- In the menu at the top left corner, click on “Installation > Apply Changes”
- Wait and allow to install completely. Ensure you have a stable internet connection during this process.
PATH is an environment variable on Unix-like operating systems, DOS, OS/2, and Microsoft Windows, specifying a set of directories where executable programs are located. In general, each executing process or user session has its own PATH setting. - Wikipedia
After installing MinGW, it can be found in C:MinGWbin
. Now you have to include this directory in your environment variable PATH. If you've been using computers for a while now you should know how to do this already, but if you don't, here are a few resources:
- Click here for a Windows OS guide
- Click here for Linux
- Click here for a Mac OS guide
Now we have our compiler set up, let's install Code Runner
Code Runner allows you to Run code snippet or code file for multiple languages:
C, C++, Java, JavaScript, PHP, Python, Perl, Perl 6, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, F# (.NET Core), C# Script, C# (.NET Core), VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml Script, R, AppleScript, Elixir, Visual Basic .NET, Clojure, Haxe, Objective-C, Rust, Racket, AutoHotkey, AutoIt, Kotlin, Dart, Free Pascal, Haskell, Nim, D, Lisp, Kit, and custom command.
- Click here to download
- Or search in VsCode marketplace tab
- After installing restart VsCode
- Open your C++ file in Vscode. Here's a basic hello world program below:
Save this file as test.cpp
- Use the shortcut
Ctrl+Alt+N
- Or press F1 and then select/type Run Code
- Or right-click the Text Editor and then click Run Code in the editor context menu
The code will run and the output will be shown in the Output Window. Open the output window with `Ctrl+ shortcut.
- Use the shortcut
Ctrl+Alt+M
- Or press F1 and then select/type Stop Code Run
- Or right-click the Output Channel and then click Stop Code Run in the context menu
Hurray, you just successfully set up your C++ environment in VsCode!
Here's a quick hint: By default, VsCode's output terminal is read-only. If you're running code that requires user input like:
Vsc C Online
you won't be able to type into the terminal, Cannot edit in read-only terminal
.
To fix this, you need to manually enable read-write.
- In VsCode, Go to File > Preference > Setting.
- In the User tab on the left panel, find the extensions section
- Scroll and find 'Run Code Configuration'
- Scroll and find a checkbox
Run in Terminal
(Whether to run code in Integrated Terminal) Check the box.
OR
- In your
setting.json
file, add:
Hurray, you're done and ready to roll :).
Vsc C++ Intellisense
Here are some C++ resources you can use to get started with learning C++
- Code Runner by Jun Han
Cpptools Github
Thank you for reading!
