g++ is not recognized as an internal or external command

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello GS welcome to college coders so in this video I'm going to solve C++ era so I already typed the C++ code here in Visual Studio code so first of all we will run this code and see the error what is error occur so you can see this error g++ the term is not recognized as the name of the cmdl function like that okay guys so don't worry I will provide the solution in this video so first of all we will minimize this vs code and open the CMD using Windows plus r key and type here CMD then enter after that maximize this and zoom it then you type here g++ hyphen hyphen version okay then enter so you can see this error g++ is not recognized as an internal external command operable program or batch file okay guys so how to solve this error so close this prompt and then search here environment variables so type here environment and then click on the first option then click on the environment variables then click on the path then choose edit then click on the new okay then find those directory where we did downloaded the mjw file okay so search here this PC and my computer this PC okay then enter then after it guys go to Windows C so in my device I downloaded the MW file in under the windows C you can see here MW but in your case maybe you did download it in program files so open the program files and search here MW yeah in another case maybe you downloaded MW under the program file 86 so click on this and find here m W okay then open the MW file so in my case I already downloaded and install under the windows C file okay so I will click on the mjw then click on the bin folder then click on the path here and copy this path okay then go to system properties here environment variables then click on the new and paste here okay then okay okay okay then close this then refresh and open CMD again using Windows plus r then type here CMD then enter Then Zoom it again and type g++ hyphen hyphen version then enter so you can see here MW version 6.3.0 okay you can read here g++ in bracket M w.org GCC 6.3.1 okay this is the version of g++ okay then close this and go to visual studio then again run this program so click on the run Icon so you can see again this error occur so close this vs code and again open the vs code open with vs code so run this code again click on the run Icon so guys you can see the output here in terminal 120 okay so you can see guys our error is completely solved related to C++ So currently our error is solved so follow the step you can resolve the C++ cre error G Plus+ is not recognize rated error so that's all about the today video so if you like this video so don't forget to like share subscribe to college codas and click on the Bell icon for further video notification thanks for watching guys
Info
Channel: College Coders
Views: 287
Rating: undefined out of 5
Keywords: g++ is not recognized as an internal or external command, g++ error no such file or directory vscode
Id: g0yeMpQcCBk
Channel Id: undefined
Length: 4min 13sec (253 seconds)
Published: Wed Jan 03 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.