sdfsd

Installation and Setup Overview

Installation and Setup Overview

1) Firstly, we will download the C compiler for our windows machine and for that we’re going to download the “MinGW” compiler. Follow the download link provided below you’ll be redirected official site of MinGW.

 

2) We will download the self-extractable archive for MinGW to make our installation process easy and simple. So simply click on the “MinGW-17.1-without-git.exe” and your download will start.

 

3) Once your download gets finished open it from the folder where it has been downloaded and double click on it to start the installation process.

4) Now you’ll be asked to choose the extraction location of the compiler, in the text field type “C:\” and click on the extract button. Extraction of this archive will take some time so keep patience.

5) Next, we will set up the environment variables for accessing GCC in vs code, and to do so, first copy the location of the bin folder from the newly extracted MinGW directory. In our case, it looks like this: “C:\MinGw\bin“.

6) Now, open up the properties of your windows machine and click on the advanced settings button.

7) Click on the environment variable button.

8) Now, select the path variable by simply clicking on it.

9) Click on the edit button to add the environment variables.

10) Open Up the command prompt, type and press enter