Install C++ compiler in visual studio code

Hi,  this is Bigsan.  In this article, I will tell you how you can install a C++ compiler in visual studio code. Microsoft Visual studio code does not come with an in-build compiler. you have to download an external compiler to compile your pc.

So, in this article, I will tell you how to install it on your pc. Read the article till the end. It will take hardly ten to fifteen minutes. I have written simple steps to install the compiler of C++. I have also given some screenshots show that it will help you to easily install it.

Steps to install it on your pc:


1. Go to any browser on your pc and search for MinGW. You will find this website :

https://osdn.net/projects/mingw/releases/

Inage


2. Download MinGW from this website in then install it. While installing simply click next.



Image

It will download some packages. Wait till the downloading completes. 



Image


After that a screen will appear. In that screen, click on mingw32 base bin and then click on mark for installation. Similarly, click on mingw32 gcc g++ bin and click on mark for installation.



Image

After doing this click on installation and then click on apply changes. Again,  it will download some packages. So be patient. 

Image

When the files are are successfully  installed add mingw to path. Just search in google how to install mingw to path. 

Image

After doing this go to visual studio code and install C/C++ extention from the extention tab. 

Image

After that install code runner so that you will be able to run the code. 

Now,  your are ready to go. If you are having any problems comment me below. 

Comments

Popular posts from this blog

Jardinains 2 game cheats

In which episode of Pokemon XYZ Froggy evolve into greninja?

5 best websites to download games in 2021