C++ Setup for new user account

I created a new user on my Windows machine and installed VSCODE for C++/C and everything was going well until it was time to install the compiler(mingw), once I installed the compiler got the message ‘Compiler already installed on Machine’ and also set the environment PATH but keep getting ‘g++ not recognised’. PLEASE HELP


Ok so to seperate the issues, one thing is C++ working on vs code and another is C++ working on your machine in general.

Which mingw did you install? If you open powershell and type g++ what happens (do you get something along the lines of cmdlet not recognized? Let’s get the latter working first.

Then the question turns to how you set up your system environment. Maybe share that (scratch out things that have your name etc) and we can help more.

1 Like