The term 'g++' is not recognized as the name of a cmdlet, function SOLVED in Visual Studio Code

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone in this video I'll be showing you how  to solve the error the term g++ is not recognized   as the name of a cmdlet in Visual Studio code so  let's get started so first thing what you need to   do is you need to go to the folder where you have  installed MinGW so by default it is present in   this PC local disk C and you'll be having MinGW  over here so if you aren't able to figure out   where you have installed Min GW what you are doing  is just go to your search over here and type mingw   and you'll be getting this MinGW installation  manager just click on open file location   it will be taking you to this particular icon or  application over here so what you are doing is   right click on it again and just click open file  location so this will directly take you to the Min   GW folder as you can see here if I just now click  it I'll be just getting the same path again so in   this minGW folder you need to go to the folder  bin and need to just copy this particular path   it's C minGW and Bin so let me just now copy it  and if you aren't having bin folder in this mingw   folder you need to go to any particular folder  and search for bin all right in some cases it will   be present inside another folder as well so just  copy this path and go to environmental variables   and you'll be getting this one just click  edit environmental variables and you'll be   having this system variables over here just  click on this path and just click edit just   click on new again and just paste it is C mingw  and Bin and just click ok here as well here as   well and after doing that super important thing  close your Visual Studio code and open it again   so that the changes are getting effected so  I will just close it now and reopen it again   so now I have again opened my visual  studio code and if I just now type g++ -v   so here you can see I will be getting the  version over here and even I can run and   compile my program so I will just type  g++ my program name is newpro dot CPP yeah it is compiling fine and in order  to view the output put dot slash a   and you can see I'm getting this particular output  over here so I hope you have found this video   useful I've also done many other programming  tutorials in C C plus plus Java python node.js   react JS mongodb MySQL so do check other videos  of my channel subscribe me thanks for watching
Info
Channel: United Top Tech
Views: 37,924
Rating: undefined out of 5
Keywords: the term 'g++' is not recognized as the name of a cmdlet function, the term 'g++' is not recognized as the name of a cmdlet visual studio code, g++ vscode error
Id: 5hSRaW4swto
Channel Id: undefined
Length: 2min 31sec (151 seconds)
Published: Thu Oct 20 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.