Installed Gcc for W10 for Visual Studio Code

by nikkischulz6 in Teachers > University+

16 Views, 0 Favorites, 0 Comments

Installed Gcc for W10 for Visual Studio Code

Unbenannt.PNG

I hadnt a compiler in VSC for programming C/C++


So I needed to find a way like: https://www.wikihow.com/Run-C-Program-in-Command-Prompt




Check If Gcc Is Installed

On W10 you can check if gcc is installed

C:\Windows\system32>gcc --version

Install MINGW

If it can't be found you need to download mingw-get-setup.exe from https://sourceforge.net/projects/mingw/

also make sure when installing it to select "mingw32-base" and "mingw-gcc-g++."

Then you need to restart VSCode