#G++ not recognized as internal or external outputVS Code, C++ (solved)

1 messages · Page 1 of 1 (latest)

muted quail
#

install gcc and g++

muted quail
#

make sure it's in your path too

rich verge
#

if you're using msys2 make sure you're using the msys2 shell

rich verge
#

whar

#

you need to use the msys2 shell to use g++

#

i recommend adding a msys2 profile to your vscode terminal

#

i dont know how it works in vscode but this is how mine looks like in visual studio

#

yes however visual studio is not visual studio code

#

visual studio is only on windows and is primarily used for C++ and C# developement. it is an IDE, which means it has more developement features built in, but is larger and more resource intensive
vscode is a open-source(-ish) cross platform text editor which you can use for pretty much everything