Now again in the extensions search bar type Code Runner, select the first option from Jun Han and click on the small install button. Click on the extension button and in the search bar type C/C , then select the first option from Microsoft and click on the small blue install button.ģ. Open visual studio code, Press Windows keys and then type Visual Studio Code and press enter.Ģ. Step 5: Install C Extensions in Visual Studio Code on Windows 11Īlso Read: How To Install Visual Studio Code in Windows 11ġ. In the command prompt type, g -version and press enter key to check the installed version of MinGW g . To check if the MinGW compiler is working properly, open windows command prompt by pressing the Windows button and type cmd, then press enter.Ģ. Location: C:\MinGw\bin Step 4: Check Verify G Versionġ. Now, select the Path variable and click on the Edit button.ĥ. Click the "New" button, then paste the following location in the blank field and click "OK." Click on the Environment Variable button.Ĥ. Now click on the Windows button and then type Environment Variables in the search field and press Enterģ. Next, we will set up the environment variables for accessing g in vscode.Ģ. In our case, it looks like this: “ C:\MinGw\bin“. First, copy the location of the bin folder from the newly extracted MinGW directory. The extraction of this archive will take some time. Choose the extraction location of the compiler by typing “C:\” in the text field and then click the extract button to start the extraction process. Once it has been downloaded, you need to open it from the folder and then double-click on it to start the installation process.Ģ. So we will click on the “ Direct Download Link” and the download will start. We will be downloading a self-extractable archive for MinGW to make the installation process easy. Click on the below link to open the download page for MinGW Compiler.Ģ. We’re going to download the “ MinGW” compiler. We need to download the C compiler for our windows 11 machine. Step 1: Download the C Compiler for Windows 11ġ.
0 Comments
Leave a Reply. |