I installed the MinGW-w64 C/C++ package on C:\
.
What are the system environment variables I should add into the Windows OS so that I can code in C/C++ on VS Code e.g. C:\MinGW-w64...\bin
, etc?
I installed the MinGW-w64 C/C++ package on C:\
.
What are the system environment variables I should add into the Windows OS so that I can code in C/C++ on VS Code e.g. C:\MinGW-w64...\bin
, etc?
You shoul add the path of the GCC compiler mostly it should be like C:\MinGW\Bin (here C:\ can also be something if you put that at some other place or a different drive, I normally install it directly in C drive and it works well)
Search for Path in Windows Search, you'll find an option of "Edit Environment and Path Variables" Open it Go to system variables (so it can be available to all users) Click on the path, there will be some blank lines, paste your copied path from Windows Explorer, or click the browser option to browse it. The main thing to add in path in MinGW\Bin which contains all compile binaries)
I hope you get what I went to say.