im learning c++ and ive just set it up on vs code and as soon as i run it says 'g++' is not recognized as an internal or external command, operable program or batch file. i went to cmd and checked the gcc version and it said gcc (GCC) 9.2.0 so im a bit lost on what the issue is can someone help
Asked
Active
Viewed 271 times
0
-
is g++ in your path? check https://www.google.com/search?q=vcod+g%2B%2B+not+recognized+site:stackoverflow.com – alle_meije Apr 28 '21 at 07:30
-
So `gcc --version` works, but `g++ --version` doesn't? That is odd. Usually `g++.exe` is in the same directory as `gcc.exe`. – TonyK Apr 28 '21 at 12:27